|
|
@@ -6,7 +6,7 @@ export const useUser = () => {
|
|
|
const store = useStore();
|
|
|
|
|
|
const userInfo = computed(() => store.state.user);
|
|
|
- const userLoggedIn = computed(() => store.state.user.role !== 'GUEST');
|
|
|
+ const userLoggedIn = computed(() => store.state.user.role !== '游客');
|
|
|
|
|
|
const userLogOut = () => {
|
|
|
UserDispatcher.userLogOut();
|