feat: 优化微信登陆

This commit is contained in:
Burt
2024-01-20 18:41:18 +08:00
parent 70b74eb3cb
commit 2d30a05712
3 changed files with 6 additions and 9 deletions

4
src/typings.d.ts vendored
View File

@@ -1,6 +1,6 @@
export type UserInfo = {
nickname: string
avatar: string
nickname?: string
avatar?: string
/** 微信的 openid非微信没有这个字段 */
openid?: string
token?: string