|
@@ -49,7 +49,7 @@ export const getUsers = async (deptId?: string) =>
|
|
|
(await axios.get<UserInfo[]>(getUserListSelect, { params: { deptId } })).data;
|
|
|
// 当前用户的信息
|
|
|
export const user = ref({
|
|
|
- token: getLocal("info", localStorage.getItem('token')) || "",
|
|
|
+ token: getLocal("token", false) || "",
|
|
|
info: getLocal("info", {} as UserInfo),
|
|
|
});
|
|
|
|