feat : 对接认证接口

This commit is contained in:
2025-12-25 17:37:59 +08:00
parent 433352c902
commit 369d065008
3 changed files with 10 additions and 19 deletions

View File

@@ -138,7 +138,7 @@ const useUserStore = defineStore("user", () => {
userInfo.value = values.data;
// role.value = values.role;
hasLogin.value = true;
isAuth.value = values.data?.isCert == 1 ? true : false //是否认证
isAuth.value = values.data?.isCert == 0 ? true : false //是否认证 0已认证
}
const checkAuth = () => {