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 @@