perf:发布权限处理
This commit is contained in:
@@ -117,7 +117,7 @@ export default function useAuths(opt) {
|
||||
setToken(token);
|
||||
try {
|
||||
// 存储用户信息
|
||||
await getUserInfo(); // 用户信息
|
||||
await useUserStore().getInfo(); // 用户信息
|
||||
// 登录成功后 路由跳转
|
||||
// 如果有记录当前跳转页面
|
||||
const currentPath = Session.get("currentPath");
|
||||
|
||||
Reference in New Issue
Block a user