改进
This commit is contained in:
parent
a2a4cafcd0
commit
a0fa982cfd
@ -33,7 +33,7 @@ watch(
|
|||||||
);
|
);
|
||||||
function update() {
|
function update() {
|
||||||
updateAll();
|
updateAll();
|
||||||
loaded.value = true
|
loaded.value = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
update();
|
update();
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
<PersonOutline />
|
<PersonOutline />
|
||||||
</n-icon>
|
</n-icon>
|
||||||
</template>
|
</template>
|
||||||
<AssistantMenu class="select-none" />
|
<AssistantMenu />
|
||||||
</n-popover>
|
</n-popover>
|
||||||
<!-- 用户弹出 -->
|
<!-- 用户弹出 -->
|
||||||
<n-popover
|
<n-popover
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
<template></template>
|
<template>
|
||||||
|
<div>
|
||||||
|
正在退出
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts"></script>
|
<script setup lang="ts">
|
||||||
|
import { useRoute } from 'vue-router';
|
||||||
|
</script>
|
@ -4,8 +4,7 @@ import config from "../config/config";
|
|||||||
import { Base64 } from "js-base64";
|
import { Base64 } from "js-base64";
|
||||||
|
|
||||||
let timer: any = null;
|
let timer: any = null;
|
||||||
export const useUserStore = () => {
|
export const useUserStore = defineStore("user", {
|
||||||
const innerStore = defineStore("user", {
|
|
||||||
persist: true,
|
persist: true,
|
||||||
state: () => ({
|
state: () => ({
|
||||||
logined: false,
|
logined: false,
|
||||||
@ -96,9 +95,4 @@ export const useUserStore = () => {
|
|||||||
return this.id_token;
|
return this.id_token;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log("storage")
|
|
||||||
|
|
||||||
return innerStore()
|
|
||||||
};
|
|
||||||
|
Loading…
Reference in New Issue
Block a user