Files
vue3-element-admin/src/views/demo/api/knife4j.vue
hxr 36aea45797 feat: 新增 swagger、knife4j 接口文档
Former-commit-id: 4132c35ec881531fd91ebd8d85e9bb7fad48b7cb
2023-10-24 00:14:59 +08:00

28 lines
503 B
Vue

<!-- 接口文档 -->
<template>
<div class="app-container">
<iframe
src="http://vapi.youlai.tech/doc.html"
width="100%"
height="100%"
frameborder="0"
></iframe>
</div>
</template>
<style lang="scss" scoped>
/** 关闭tag标签 */
.app-container {
/* 50px = navbar = 50px */
height: calc(100vh - 50px);
}
/** 开启tag标签 */
.hasTagsView {
.app-container {
/* 84px = navbar + tags-view = 50px + 34px */
height: calc(100vh - 84px);
}
}
</style>