fix checklogin & getinfo in app.ts

This commit is contained in:
Dawn1Ocean
2024-03-20 22:58:03 +08:00
parent 1f0d4881f3
commit 574d3692cd
8 changed files with 106 additions and 40 deletions
+3 -2
View File
@@ -1,3 +1,5 @@
import { defaultAvatar } from '@/common';
export interface UserInfo {
name: string;
phone: string;
@@ -13,8 +15,7 @@ class WechatUser {
this.userInfo = {
name: '',
phone: '',
avatar:
'https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png',
avatar: defaultAvatar,
};
this.isMember = false;
}