flat: 微调

This commit is contained in:
Apcallover
2025-12-16 20:24:03 +08:00
parent 4a03b4d4cb
commit 80213b18e9
9 changed files with 729 additions and 617 deletions

View File

@@ -18,6 +18,7 @@ import {
msg,
$api,
} from '../common/globalFunction';
import baseDB from '@/utils/db.js';
// 简历完成度计算
function getResumeCompletionPercentage(resume) {
@@ -125,7 +126,9 @@ const useUserStore = defineStore("user", () => {
// 获取消息列表
useReadMsg().fetchMessages()
// 获取用户信息
return getUserResume()
const resume = await getUserResume()
await baseDB.init(); // 登录成功初始化
return resume
}
const setUserInfo = (values) => {