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