@@ -123,10 +123,6 @@ const checkPassword = () => {
// 检测长度是否符合要求
isValidLength.value = pwd.length >= 12 && pwd.length <= 20
}
-
-onUnmounted(() => {
- userStore.logout(true)
-})
</script>
<template>