Explorar o código

清除登录状态

yuanmingze hai 3 meses
pai
achega
399eb74737
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/views/login/index.vue

+ 1 - 0
src/views/login/index.vue

@@ -278,6 +278,7 @@ const toAgreement = (type: string) => {
 }
 
 onBeforeMount(() => {
+  userStore.LogOut()
   registerUrlParams.value.returnUrl = `${location.origin}${route.fullPath}`
   const pushRecordId = route?.query.pushRecordId || ''
   if (pushRecordId) {