|
|
@@ -86,6 +86,7 @@ function getPrivDataAsObject(userId, key, defaultValue) {
|
|
|
} catch (error) {
|
|
|
lk.logErr(error);
|
|
|
}
|
|
|
+ return userInfo;
|
|
|
}
|
|
|
|
|
|
function handleRspCookie() {
|
|
|
@@ -163,7 +164,7 @@ async function checkExploreOne(accountData) {
|
|
|
let userInfo = getPrivDataAsObject(phone, 'UserData');
|
|
|
let isSucc = false;
|
|
|
// await loadIndex();
|
|
|
- if (userInfo.phone && userInfo.password && userInfo.token) {
|
|
|
+ if (userInfo && userInfo.phone && userInfo.password && userInfo.token) {
|
|
|
let paraData = await getParadropData(userInfo.phone, userInfo.password, userInfo.token);
|
|
|
if (paraData) {
|
|
|
if (!checkIsExploring(paraData)) {
|