src/views/data/wiki/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/model/wiki/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/data/wiki/index.vue
文件名从 src/views/data/swagger/index.vue 修改 @@ -6,7 +6,7 @@ <script lang="ts" setup> import * as ConfigApi from '@/api/infra/config' defineOptions({ name: 'DataSwagger' }) defineOptions({ name: 'DataWiki' }) const loading = ref(true) // 是否加载中 const src = ref(import.meta.env.VITE_BASE_URL + '/doc.html') @@ -14,7 +14,7 @@ /** 初始化 */ onMounted(async () => { try { const data = await ConfigApi.getConfigKey('data.swagger') const data = await ConfigApi.getConfigKey('data.wiki') if (data && data.length > 0) { src.value = data } src/views/model/wiki/index.vue
文件名从 src/views/model/swagger/index.vue 修改 @@ -6,7 +6,7 @@ <script lang="ts" setup> import * as ConfigApi from '@/api/infra/config' defineOptions({ name: 'ModelSwagger' }) defineOptions({ name: 'ModelWiki' }) const loading = ref(true) // 是否加载中 const src = ref(import.meta.env.VITE_BASE_URL + '/doc.html') @@ -15,7 +15,7 @@ /** 初始化 */ onMounted(async () => { try { const data = await ConfigApi.getConfigKey('model.swagger') const data = await ConfigApi.getConfigKey('model.wiki') if (data && data.length > 0) { src.value = data }