优化登录页监听等问题
This commit is contained in:
parent
f975ff3ec4
commit
b92c98a222
|
|
@ -174,6 +174,11 @@ export default {
|
||||||
},
|
},
|
||||||
immediate: true,
|
immediate: true,
|
||||||
},
|
},
|
||||||
|
activeName: {
|
||||||
|
handler(newVal) {
|
||||||
|
this.$refs['loginForm'].clearValidate()
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
// console.log(this.$route.query.redirect.split("?")[1])
|
// console.log(this.$route.query.redirect.split("?")[1])
|
||||||
|
|
@ -311,13 +316,6 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
|
||||||
activeName: {
|
|
||||||
handler(newVal) {
|
|
||||||
this.$refs['loginForm'].clearValidate()
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue