Skip to content

Commit c77b20c

Browse files
authored
fix: 修复不同页签之间认证共享问题 (#560)
1 parent a22e0aa commit c77b20c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/stores/modules/user.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const useUserStore = defineStore({
3535
return result
3636
}
3737
}
38-
return null
38+
return localStorage.getItem('accessToken')
3939
},
4040

4141
getPermissions() {

0 commit comments

Comments
 (0)