diff --git a/yudao-ui-admin/src/components/generator/config.js b/yudao-ui-admin/src/components/generator/config.js index f242f11d1..780a1bb67 100644 --- a/yudao-ui-admin/src/components/generator/config.js +++ b/yudao-ui-admin/src/components/generator/config.js @@ -499,7 +499,8 @@ export const selectComponents = [ __slot__: { 'list-type': true }, - action: process.env.VUE_APP_BASE_API + "/admin-api/infra/file/upload", // 请求地址 + // action: process.env.VUE_APP_BASE_API + "/admin-api/infra/file/upload", // 请求地址 + action: '/infra/file/upload', // 请求地址 disabled: false, accept: '', name: 'file', diff --git a/yudao-ui-admin/src/components/parser/Parser.vue b/yudao-ui-admin/src/components/parser/Parser.vue index 779cf1782..51398d646 100644 --- a/yudao-ui-admin/src/components/parser/Parser.vue +++ b/yudao-ui-admin/src/components/parser/Parser.vue @@ -1,6 +1,7 @@