forked from Leaf/amber-ui
改进
This commit is contained in:
parent
a2a4cafcd0
commit
a0fa982cfd
@ -33,7 +33,7 @@ watch(
|
||||
);
|
||||
function update() {
|
||||
updateAll();
|
||||
loaded.value = true
|
||||
loaded.value = true;
|
||||
}
|
||||
|
||||
update();
|
||||
|
@ -54,7 +54,7 @@
|
||||
<PersonOutline />
|
||||
</n-icon>
|
||||
</template>
|
||||
<AssistantMenu class="select-none" />
|
||||
<AssistantMenu />
|
||||
</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";
|
||||
|
||||
let timer: any = null;
|
||||
export const useUserStore = () => {
|
||||
const innerStore = defineStore("user", {
|
||||
export const useUserStore = defineStore("user", {
|
||||
persist: true,
|
||||
state: () => ({
|
||||
logined: false,
|
||||
@ -97,8 +96,3 @@ export const useUserStore = () => {
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
console.log("storage")
|
||||
|
||||
return innerStore()
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user