定时器bug

This commit is contained in:
X1627315083
2025-09-02 23:24:52 +08:00
parent 88df71f822
commit 0b05981b0c
4 changed files with 9 additions and 14 deletions

View File

@@ -299,7 +299,9 @@ export default defineComponent({
loginTime: true,
};
},
onBeforeUnmount() {
this.clearTimer();
},
methods: {
changeLoginType(type: string) {
this.loginType = type;

View File

@@ -299,7 +299,9 @@ export default defineComponent({
loginTime: true,
};
},
onBeforeUnmount() {
this.clearTimer();
},
methods: {
changeLoginType(type: string) {
this.loginType = type;

View File

@@ -299,7 +299,9 @@ export default defineComponent({
loginTime: true,
};
},
onBeforeUnmount() {
this.clearTimer();
},
methods: {
changeLoginType(type: string) {
this.loginType = type;