From c410240ed545374375c6073e3f74ddf39ad41878 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Mon, 23 May 2022 02:03:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20form=20generator=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E3=80=81?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/generator/config.js | 3 +- .../src/components/parser/Parser.vue | 42 +++++++++++++++++++ yudao-ui-admin/src/main.js | 5 ++- yudao-ui-admin/src/views/bpm/model/index.vue | 4 +- .../src/views/bpm/processInstance/create.vue | 3 +- 5 files changed, 50 insertions(+), 7 deletions(-) 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 @@