|
|
@ -172,11 +172,12 @@ const Root = props => { |
|
|
|
|
|
|
|
// MicroApp |
|
|
|
const microAppListen = async (data) => { |
|
|
|
console.log('xxxx', data); |
|
|
|
if (data.action == 'initMicro') { |
|
|
|
await store.dispatch(actions.auth.initAuth({ |
|
|
|
authorized: true, |
|
|
|
token: data.data.token, |
|
|
|
// token: data.data.token, |
|
|
|
// mirrorId: data.data.mirrorId |
|
|
|
...(data.data || {}) |
|
|
|
})) |
|
|
|
// await store.dispatch(push('/noMatch')); |
|
|
|
setMicroAppWaiting(false) |
|
|
|