Skip to content

Commit

Permalink
Merge pull request #134 from sabernagato/fix-swagger-path
Browse files Browse the repository at this point in the history
修复: 将 swaggerResourcePaths 从 'doc/admin' 改为 'doc/sys' 以匹配接口前缀
  • Loading branch information
zhontai authored Mar 3, 2025
2 parents 04f78d0 + 7506e60 commit 636e33d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/zhontai.ui.admin.vue3/src/views/admin/api/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ const syncApi = async (swaggerResource: any) => {
const onSync = async () => {
state.syncLoading = true
const swaggerResourcePaths = ['doc/admin']
const swaggerResourcePaths = ['doc/sys']
// const swaggerResourcePaths = ['doc/app']
const swaggerResourceUrls = swaggerResourcePaths?.map((path) => `/${path}/swagger-resources`) as string[]
const lastSwaggerResourcesIndex = swaggerResourceUrls.length - 1
Expand Down

0 comments on commit 636e33d

Please sign in to comment.