diff --git a/src/pages/account/login/index.vue b/src/pages/account/login/index.vue
index 673590e..57de38f 100644
--- a/src/pages/account/login/index.vue
+++ b/src/pages/account/login/index.vue
@@ -12,7 +12,8 @@
-
+
@@ -181,7 +182,7 @@ export default {
handleRule () {
this.rules.account[0].message = this.verCodeLogin ?
'请输入手机号/邮箱' :
- '请输入账号'
+ this.form.distinguish ? '请输入账号' : '请输入账号/手机号'
},
// 切换标签
typeClick (tab) {
@@ -199,6 +200,7 @@ export default {
type: 2,
platform: form.platform
}
+ if (id) this.verCodeLogin = false
this.$refs.form.clearValidate()
this.handleRule()
},
diff --git a/src/setting.js b/src/setting.js
index 3ba2ca8..b11659c 100644
--- a/src/setting.js
+++ b/src/setting.js
@@ -12,7 +12,7 @@ const dev = process.env.NODE_ENV === 'development' // 本地
let host = `${location.origin}/`
if (dev) {
// host = 'https://www.dataforward.cn/'
- // host = 'http://118.31.167.228/'
+ host = 'http://118.31.167.228/'
host = 'http://192.168.31.217:9000/'
}