浏览代码

fixed init user check fi loggedin

bach 2 年之前
父节点
当前提交
3e791910cc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/stores/user.js

+ 1 - 1
src/stores/user.js

@@ -29,7 +29,7 @@ export const UserStore = defineStore({
             this.uid = data.attributes.drupal_internal__uid
             this.mail = data.attributes.mail
             this.name = data.attributes.name
-            this.isloggedin = data.attributes.status
+            this.isloggedin = true //data.attributes.status
             console.log('user store checkuser isloggedin', this.isloggedin);
           })
         }