dedsudiyu il y a 1 an
Parent
commit
1688aa6544
2 fichiers modifiés avec 9 ajouts et 9 suppressions
  1. 2 2
      .env.production
  2. 7 7
      src/views/login.vue

+ 2 - 2
.env.production

@@ -12,12 +12,12 @@ ENV = 'production'
 
 # ####################外网接口配置####################
 
-VUE_APP_BASE_API = 'lab.zjznai.com/labSystem'
+VUE_APP_BASE_API = 'lab.zjznai.com/zhlabSystem'
 
 
 
 # ####################内网接口配置####################
 
-VUE_APP_BASE_LOCAL_API = '192.168.251.2/labSystem'
+VUE_APP_BASE_LOCAL_API = '192.168.1.12/labSystem'
 
 

+ 7 - 7
src/views/login.vue

@@ -191,13 +191,13 @@ export default {
 
     },
     getCode() {
-      getCodeImg().then(res => {
-        this.captchaOnOff = res.captchaOnOff === undefined ? true : res.captchaOnOff;
-        if (this.captchaOnOff) {
-          this.codeUrl = "data:image/gif;base64," + res.img;
-          this.loginForm.uuid = res.uuid;
-        }
-      });
+      // getCodeImg().then(res => {
+      //   this.captchaOnOff = res.captchaOnOff === undefined ? true : res.captchaOnOff;
+      //   if (this.captchaOnOff) {
+      //     this.codeUrl = "data:image/gif;base64," + res.img;
+      //     this.loginForm.uuid = res.uuid;
+      //   }
+      // });
     },
     getCookie() {
       const username = Cookies.get("username");