|
@@ -161,13 +161,13 @@ export default {
|
|
|
console.log(query)
|
|
|
|
|
|
this.$store.dispatch('user/login', query).then(res => {
|
|
|
- this.$message.success('登录成功,正在跳转')
|
|
|
+ // this.$message.success('登录成功,正在跳转')
|
|
|
this.$router.push({
|
|
|
path: this.redirect || '/home',
|
|
|
query: this.otherQuery
|
|
|
})
|
|
|
}).catch((res) => {
|
|
|
- this.$message.error(res.msg)
|
|
|
+ // this.$message.error(res.msg)
|
|
|
if (this.needCode) {
|
|
|
this.changeImg()
|
|
|
this.loginForm.code = ''
|