优化登录页监听等问题

This commit is contained in:
BianLzhaoMin 2024-05-15 09:10:01 +08:00
parent f975ff3ec4
commit b92c98a222
1 changed files with 5 additions and 7 deletions

View File

@ -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>