Browse Source

MicroApp mirrorId

release_1.3.0
巴林闲侠 2 years ago
parent
commit
eb1a31bf2d
  1. 5
      code/VideoAccess-VCMP/web/client/src/layout/index.jsx

5
code/VideoAccess-VCMP/web/client/src/layout/index.jsx

@ -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)

Loading…
Cancel
Save