完成调查问卷

This commit is contained in:
Zy
2026-04-15 17:32:03 +08:00
parent 40f13be704
commit cf9a1f1585
25 changed files with 2325 additions and 254 deletions

View File

@@ -31,7 +31,8 @@ router.beforeEach(async (to, from, next) => {
if (useUserStore().roles.length === 0) {
isRelogin.show = true;
// 判断当前用户是否已拉取完user_info信息
const [err] = await tos(useUserStore().getInfo());
const [data, err] = await tos(useUserStore().getInfo());
console.log(data);
if (err) {
await useUserStore().logout();
ElMessage.error(err);