添加了put方法

This commit is contained in:
2020-10-15 09:21:00 +08:00
parent 6bf0fbc16f
commit c240c7aba3
3 changed files with 11 additions and 2 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 {