Files
vue3-element-admin/src/views/demo/apidoc.vue
haoxr 8baa04362a refactor: 样式调整
Former-commit-id: abc0fb7efca87ce596d7a61cb81685252cd10afa
2023-03-13 23:07:28 +08:00

24 lines
420 B
Vue

<!-- 接口文档 -->
<template>
<div class="app-container">
<iframe
id="apidocIframe"
src="https://www.apifox.cn/apidoc/shared-195e783f-4d85-4235-a038-eec696de4ea5"
width="100%"
frameborder="0"
></iframe>
</div>
</template>
<style lang="scss" scoped>
#apidocIframe {
height: calc(100vh - 100px);
}
.hasTagsView {
#apidocIframe {
height: calc(100vh - 140px);
}
}
</style>