Explorar o código

feat: 从修改密码页退出时也会调用退出登录接口

zhouyuhao hai 8 meses
pai
achega
4ad07cf4f1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/Login/src/components/ChangePasswordCard.vue

+ 1 - 1
src/views/Login/src/components/ChangePasswordCard.vue

@@ -125,7 +125,7 @@ const checkPassword = () => {
 }
 
 onUnmounted(() => {
-  userStore.logout(false)
+  userStore.logout(true)
 })
 </script>