Merge pull request 'xbx' (#35) from xbx into master

Reviewed-on: http://git.luyuan.tk/luyuan/beelink/pulls/35
This commit was merged in pull request #35.
This commit is contained in:
2020-10-13 09:15:43 +08:00
6 changed files with 279 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ export async function userinfo(){
const user = await get<UserInfo>('personalInfo');
// console.log(user.data?.img)
if(user.code == 1001){
router.push("/")
// router.push("/")
return '未登录';
}
return {