From 333eefd2a1f8314d883401e6fb3f12441952ff73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=B4=8B=E5=B7=9D?= <604737071@qq.com> Date: Tue, 16 Apr 2024 17:59:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=EF=BC=8C=E8=A1=A5=E5=85=A8=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E3=80=82=E6=96=B0=E5=A2=9E=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E7=9A=84=E9=A1=B5=E9=9D=A2=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf-ui/.env.development | 3 +- sf-ui/src/components/FileUpload/index.vue | 139 ++++++++++-------- sf-ui/src/components/ImageUpload/index.vue | 53 +++---- sf-ui/src/views/FDS/installationList/add.vue | 17 +-- sf-ui/src/views/FDS/installationList/edit.vue | 18 +-- 5 files changed, 112 insertions(+), 118 deletions(-) diff --git a/sf-ui/.env.development b/sf-ui/.env.development index b2d594f..f74459f 100644 --- a/sf-ui/.env.development +++ b/sf-ui/.env.development @@ -6,6 +6,7 @@ ENV = 'development' # SAC管理系统/开发环境 VUE_APP_BASE_API = '/dev-api' - +# SAC管理系统/开发环境上传 +VUE_APP_BASE_API_ = '/' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/sf-ui/src/components/FileUpload/index.vue b/sf-ui/src/components/FileUpload/index.vue index 6c583cf..e5c9375 100644 --- a/sf-ui/src/components/FileUpload/index.vue +++ b/sf-ui/src/components/FileUpload/index.vue @@ -1,38 +1,38 @@ -