|
|
@ -90,7 +90,7 @@ import store from '@/store' |
|
|
// 点击登录 |
|
|
// 点击登录 |
|
|
handleLogin() { |
|
|
handleLogin() { |
|
|
const app = this |
|
|
const app = this |
|
|
if (!app.isLoading && app.formValidationName(app.mobile)) { |
|
|
if (!app.isLoading && app.formValidationName(app.mobile) && app.formValidationPass(app.vpass)) { |
|
|
app.submitLogin() |
|
|
app.submitLogin() |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
@ -126,7 +126,7 @@ import store from '@/store' |
|
|
// 显示登录成功 |
|
|
// 显示登录成功 |
|
|
app.$toast(result.message) |
|
|
app.$toast(result.message) |
|
|
// 到设备选择 |
|
|
// 到设备选择 |
|
|
this.$route("pages/verfiy/choosedev") |
|
|
this.$navTo("pages/verfiy/choosedev") |
|
|
|
|
|
|
|
|
// 相应全局事件订阅: 刷新上级页面数据 |
|
|
// 相应全局事件订阅: 刷新上级页面数据 |
|
|
// uni.$emit('syncRefresh', true) |
|
|
// uni.$emit('syncRefresh', true) |
|
|
|