diff --git a/.env.development b/.env.development index 21df1b5..963657b 100644 --- a/.env.development +++ b/.env.development @@ -6,7 +6,10 @@ ENV = 'development' # 电动车租赁系统/开发环境 # VUE_APP_BASE_API = '/dev-api' -VUE_APP_BASE_API = 'http://192.168.2.21:8090' +# VUE_APP_BASE_API = 'http://192.168.2.21:8090' +# VUE_APP_BASE_API = 'https://zc.chuangtewl.com' +VUE_APP_BASE_API = 'https://zc.chuangtewl.com/prod-api' + # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/.env.production b/.env.production index eb16d91..7b03b96 100644 --- a/.env.production +++ b/.env.production @@ -6,4 +6,6 @@ ENV = 'production' # 电动车租赁系统/生产环境 # VUE_APP_BASE_API = '/prod-api' -VUE_APP_BASE_API = 'http://192.168.2.21:8090' \ No newline at end of file +# VUE_APP_BASE_API = 'http://192.168.2.21:8090' +# VUE_APP_BASE_API = 'https://zc.chuangtewl.com' +VUE_APP_BASE_API = 'https://zc.chuangtewl.com/prod-api' diff --git a/.env.staging b/.env.staging index 394d610..6545377 100644 --- a/.env.staging +++ b/.env.staging @@ -8,4 +8,6 @@ ENV = 'staging' # 电动车租赁系统/测试环境 # VUE_APP_BASE_API = '/stage-api' -VUE_APP_BASE_API = 'http://192.168.2.21:8090' +# VUE_APP_BASE_API = 'http://192.168.2.21:8090' +VUE_APP_BASE_API = 'https://zc.chuangtewl.com/prod-api' + diff --git a/src/views/system/device/index.vue b/src/views/system/device/index.vue index eb0df7e..93b4fca 100644 --- a/src/views/system/device/index.vue +++ b/src/views/system/device/index.vue @@ -42,7 +42,7 @@ /> - + 更新 + 上架 + 下架 - +