feat: doc

pull/4/MERGE
xingyuv 2023-04-13 17:39:25 +08:00
parent 4807fa65ef
commit b47a6e5d64
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,6 @@ import * as DbDocApi from '@/api/infra/dbDoc'
import { downloadByData } from '@/utils/file/download'
const { t } = useI18n()
// const src = ref(BASE_URL + '/doc.html')
const src = ref('')
/** 页面加载 */
const init = async () => {

View File

@ -6,6 +6,7 @@
<script setup lang="ts" name="InfraSwagger">
import { ref } from 'vue'
import { IFrame } from '@/components/IFrame'
// knife4j
// const src = ref(import.meta.env.VITE_GLOB_BASE_URL + '/doc.html')
const src = ref(import.meta.env.VITE_GLOB_BASE_URL + '/swagger-ui')
</script>