mirror of
https://gitee.com/log4j/pig-ui.git
synced 2024-12-23 05:40:20 +08:00
commit
999704dc61
@ -122,7 +122,7 @@ export const useUserInfo = defineStore('userInfo', {
|
|||||||
* @async
|
* @async
|
||||||
*/
|
*/
|
||||||
async setUserInfos() {
|
async setUserInfos() {
|
||||||
getUserInfo().then((res) => {
|
await getUserInfo().then((res) => {
|
||||||
const userInfo: any = {
|
const userInfo: any = {
|
||||||
user: res.data.sysUser,
|
user: res.data.sysUser,
|
||||||
time: new Date().getTime(),
|
time: new Date().getTime(),
|
||||||
|
Loading…
Reference in New Issue
Block a user