From 5a5b4cac95ac38f12f1bb0a85b40a92fe5797294 Mon Sep 17 00:00:00 2001 From: tx <2622874537@qq.com> Date: Thu, 17 Oct 2024 17:27:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 3 +- .env.production | 3 +- .env.staging | 3 +- src/components/Business/SmUser/UserInput.vue | 4 +- .../Business/SmUser/smUserDialog.vue | 37 ++- src/views/system/partner/index.vue | 24 +- src/views/system/store/index.vue | 251 +++++++++--------- vue.config.js | 2 +- 8 files changed, 190 insertions(+), 137 deletions(-) diff --git a/.env.development b/.env.development index b4dfd7a..21df1b5 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,8 @@ VUE_APP_TITLE = 电动车租赁系统 ENV = 'development' # 电动车租赁系统/开发环境 -VUE_APP_BASE_API = '/dev-api' +# VUE_APP_BASE_API = '/dev-api' +VUE_APP_BASE_API = 'http://192.168.2.21:8090' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/.env.production b/.env.production index 448989b..eb16d91 100644 --- a/.env.production +++ b/.env.production @@ -5,4 +5,5 @@ VUE_APP_TITLE = 电动车租赁系统 ENV = 'production' # 电动车租赁系统/生产环境 -VUE_APP_BASE_API = '/prod-api' +# VUE_APP_BASE_API = '/prod-api' +VUE_APP_BASE_API = 'http://192.168.2.21:8090' \ No newline at end of file diff --git a/.env.staging b/.env.staging index ee5062b..394d610 100644 --- a/.env.staging +++ b/.env.staging @@ -7,4 +7,5 @@ NODE_ENV = production ENV = 'staging' # 电动车租赁系统/测试环境 -VUE_APP_BASE_API = '/stage-api' +# VUE_APP_BASE_API = '/stage-api' +VUE_APP_BASE_API = 'http://192.168.2.21:8090' diff --git a/src/components/Business/SmUser/UserInput.vue b/src/components/Business/SmUser/UserInput.vue index d175f90..9923909 100644 --- a/src/components/Business/SmUser/UserInput.vue +++ b/src/components/Business/SmUser/UserInput.vue @@ -23,7 +23,7 @@ + item[this.prop]); @@ -169,6 +170,7 @@ export default { // if (!isDeepEqual(this.value, value)) { // this.$emit('change', selected); // } + console.log(value,'valuevalue'); this.inputValue(value); this.closeDialog(); }, diff --git a/src/components/Business/SmUser/smUserDialog.vue b/src/components/Business/SmUser/smUserDialog.vue index 29f4d50..c8678ac 100644 --- a/src/components/Business/SmUser/smUserDialog.vue +++ b/src/components/Business/SmUser/smUserDialog.vue @@ -45,6 +45,7 @@