样式调整和修改已知问题
This commit is contained in:
1 parent
c28b5763a0
commit
bc3b7b3702
8 files changed
+75
-160
No files matched your search
@@ -80,12 +80,12 @@ async function handleShLogin(): Promise<boolean> {
|
||||
uni.showLoading({ title: "登录中...", mask: true })
|
||||
const userInfo = await (window as any).CP2.getUserInfo()
|
||||
|
||||
if (userInfo.code == 0) {
|
||||
if (userInfo.code == 0 || !userInfo.accountId || !userInfo.sessionId) {
|
||||
uni.showToast({ title: "获取诗画用户信息失败", icon: "none" })
|
||||
return false
|
||||
}
|
||||
|
||||
const { accountId = "", sessionId = "" } = userInfo.data
|
||||
const { accountId, sessionId } = userInfo.data
|
||||
const response = await userApi.authsh({ accountId, sessionId })
|
||||
// const response = await userApi.authsh({ accountId: "67e790d6a95d5a7b507e53dd", sessionId: "67fdff553cbc284e352ebb4d" }) // 测试
|
||||
|
||||
|
||||
Reference in new issue
Block a user