1
This commit is contained in:
1 parent
23755d615b
commit
3a5eae8646
1 file changed
+1
-2
@@ -79,8 +79,7 @@ async function handleShLogin(): Promise<boolean> {
|
||||
try {
|
||||
uni.showLoading({ title: "登录中...", mask: true })
|
||||
const userInfo = await (window as any).CP2.getUserInfo()
|
||||
|
||||
if (userInfo.code == 0 || !userInfo.accountId || !userInfo.sessionId) {
|
||||
if (userInfo.code == 0 || !userInfo.data.accountId || !userInfo.data.sessionId) {
|
||||
uni.showToast({ title: "获取诗画用户信息失败", icon: "none" })
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user