flat: 缓动

This commit is contained in:
Apcallover
2025-12-08 21:46:55 +08:00
parent c173fdd6a8
commit f24d95cedf
25 changed files with 642 additions and 353 deletions

View File

@@ -58,6 +58,7 @@ const useUserStore = defineStore("user", () => {
const Completion = ref('0%')
const seesionId = ref('')
const counts = ref({})
const isMiniProgram = ref(false)
const login = (value) => {
hasLogin.value = true;
@@ -139,6 +140,11 @@ const useUserStore = defineStore("user", () => {
});
}
function changMiniProgramAppStatus(val) {
// 是否是小程序内
isMiniProgram.value = val
}
// 导入
return {
@@ -154,7 +160,9 @@ const useUserStore = defineStore("user", () => {
seesionId,
Completion,
getUserstatistics,
counts
counts,
isMiniProgram,
changMiniProgramAppStatus
}
}, {
unistorage: true,