diff --git a/config/prod.env.js b/config/prod.env.js index f4c25bd..d023f1a 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -1,8 +1,8 @@ 'use strict' module.exports = { NODE_ENV: '"production"', - // BASE_API: '"http://139.198.17.115:20004/smartwell"', - BASE_API: '"https://yjaqjk.bda.gov.cn/smartwell"', + BASE_API: '"http://111.198.10.15:11302/smartwell"', + // BASE_API: '"https://yjaqjk.bda.gov.cn/smartwell"', // BASE_API: '"http://111.198.10.15:8098/smartwell"', // BASE_API: '"http://106.74.146.218:2031"', } diff --git a/config/prod.env.js b/config/prod.env.js index f4c25bd..d023f1a 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -1,8 +1,8 @@ 'use strict' module.exports = { NODE_ENV: '"production"', - // BASE_API: '"http://139.198.17.115:20004/smartwell"', - BASE_API: '"https://yjaqjk.bda.gov.cn/smartwell"', + BASE_API: '"http://111.198.10.15:11302/smartwell"', + // BASE_API: '"https://yjaqjk.bda.gov.cn/smartwell"', // BASE_API: '"http://111.198.10.15:8098/smartwell"', // BASE_API: '"http://106.74.146.218:2031"', } diff --git a/src/page/login/login.vue b/src/page/login/login.vue index 58e6cd6..5d8d197 100644 --- a/src/page/login/login.vue +++ b/src/page/login/login.vue @@ -13,7 +13,7 @@ -
+
验证码
@@ -45,7 +45,7 @@ password: '', kaptcha:'' }, - showKaptcha: true + showKaptcha: false } }, mounted(){ @@ -109,7 +109,7 @@ sid: this.$store.getters.sid, username: this.loginForm.username, password: RSAencrypt(this.loginForm.password), - kaptcha: this.loginForm.kaptcha + // kaptcha: this.loginForm.kaptcha } this.$store.dispatch('Login', loginForm).then(() => { this.loading = false diff --git a/config/prod.env.js b/config/prod.env.js index f4c25bd..d023f1a 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -1,8 +1,8 @@ 'use strict' module.exports = { NODE_ENV: '"production"', - // BASE_API: '"http://139.198.17.115:20004/smartwell"', - BASE_API: '"https://yjaqjk.bda.gov.cn/smartwell"', + BASE_API: '"http://111.198.10.15:11302/smartwell"', + // BASE_API: '"https://yjaqjk.bda.gov.cn/smartwell"', // BASE_API: '"http://111.198.10.15:8098/smartwell"', // BASE_API: '"http://106.74.146.218:2031"', } diff --git a/src/page/login/login.vue b/src/page/login/login.vue index 58e6cd6..5d8d197 100644 --- a/src/page/login/login.vue +++ b/src/page/login/login.vue @@ -13,7 +13,7 @@
-
+
验证码
@@ -45,7 +45,7 @@ password: '', kaptcha:'' }, - showKaptcha: true + showKaptcha: false } }, mounted(){ @@ -109,7 +109,7 @@ sid: this.$store.getters.sid, username: this.loginForm.username, password: RSAencrypt(this.loginForm.password), - kaptcha: this.loginForm.kaptcha + // kaptcha: this.loginForm.kaptcha } this.$store.dispatch('Login', loginForm).then(() => { this.loading = false diff --git a/src/store/modules/app.js b/src/store/modules/app.js index d300a4c..23aa316 100644 --- a/src/store/modules/app.js +++ b/src/store/modules/app.js @@ -6,7 +6,7 @@ const app = { state: { device: 'phone', - version: '1.0.4', + version: '1.0.5', kaptcha: '', publicKey: getPublicKey(), sid: '',