From 1b2a2bd1f309dadc0f16438b101f08cfe765f1b1 Mon Sep 17 00:00:00 2001 From: DL <1923459541@163.com> Date: Tue, 2 Apr 2024 14:11:52 +0800 Subject: [PATCH] 1 --- .env.development | 2 +- .env.production | 2 +- src/components/ImageUpload/index.vue | 94 +++++++++++++++++----------- 3 files changed, 59 insertions(+), 39 deletions(-) diff --git a/.env.development b/.env.development index dbb7ec8..fa6b1f1 100644 --- a/.env.development +++ b/.env.development @@ -4,7 +4,7 @@ ENV = 'development' # base api # VUE_APP_BASE_API = '/dev-api' # 线上 -VUE_APP_BASE_API = 'https://wxapp.diyouzhijia.com/car_admin_api' +VUE_APP_BASE_API = 'https://cms.diyouzhijia.com/car_admin_api' # 花花 # VUE_APP_BASE_API = 'http://192.168.31.16:8080/car_admin_api' # 薛磊 diff --git a/.env.production b/.env.production index 20ed2e6..62d7e35 100644 --- a/.env.production +++ b/.env.production @@ -3,5 +3,5 @@ ENV = 'production' # base api # VUE_APP_BASE_API = '/prod-api' -VUE_APP_BASE_API = 'https://wxapp.diyouzhijia.com/car_admin_api' +VUE_APP_BASE_API = 'https://cms.diyouzhijia.com/car_admin_api' diff --git a/src/components/ImageUpload/index.vue b/src/components/ImageUpload/index.vue index 173ae3a..5665a03 100644 --- a/src/components/ImageUpload/index.vue +++ b/src/components/ImageUpload/index.vue @@ -1,18 +1,38 @@