Kaynağa Gözat

修改测试环境端口

xiewenjie 4 yıl önce
ebeveyn
işleme
b356c8517b
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      .env
  2. 1 1
      src/views/user/Login.vue

+ 1 - 1
.env

@@ -1,4 +1,4 @@
 NODE_ENV=production
 VUE_APP_PREVIEW=false
-VUE_APP_API_BASE_URL=http://127.0.0.1:8082
+VUE_APP_API_BASE_URL=http://192.168.0.47:8082
 VUE_APP_TENANT_ID=0

+ 1 - 1
src/views/user/Login.vue

@@ -224,7 +224,7 @@ export default {
       return this.verkey
     },
     imgCode () {
-      return 'http://127.0.0.1:8082/auth/vcode?codeKey=' + this.guid() + '&n=' + Math.random()
+      return 'http://192.168.0.47:8082/auth/vcode?codeKey=' + this.guid() + '&n=' + Math.random()
     },
     changeImgCode () {
       this.vcodeImg = this.imgCode()