|
@ -39,7 +39,6 @@ const Cross = ({ dispatch, actions }) => { |
|
|
if (user) { |
|
|
if (user) { |
|
|
user = JSON.parse(user) |
|
|
user = JSON.parse(user) |
|
|
const crossRslt = await dispatch(authAction.crossCheck({ token: user.token })) |
|
|
const crossRslt = await dispatch(authAction.crossCheck({ token: user.token })) |
|
|
window.parent.postMessage({ action: 'initUser', user: user }, '*'); |
|
|
|
|
|
if (crossRslt.success && crossRslt.payload.data.cross) { |
|
|
if (crossRslt.success && crossRslt.payload.data.cross) { |
|
|
window.parent.postMessage({ action: 'initUser', user: user }, '*'); |
|
|
window.parent.postMessage({ action: 'initUser', user: user }, '*'); |
|
|
} else { |
|
|
} else { |
|
|