소스 검색

fix: 从修改密码页面退出时不调用退出登录函数

zhouyuhao 8 달 전
부모
커밋
57b01cec08
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      src/views/Login/src/components/ChangePasswordCard.vue

+ 0 - 4
src/views/Login/src/components/ChangePasswordCard.vue

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