From 51c2f84976652df846fe5a9d13854acc3e617046 Mon Sep 17 00:00:00 2001 From: yuan_yi <1650192445@qq.com> Date: Mon, 6 Jun 2022 08:44:46 +0800 Subject: [PATCH] ifream visibility: 'hidden' --- code/VideoAccess-VCMP/web/client/src/layout/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/VideoAccess-VCMP/web/client/src/layout/index.jsx b/code/VideoAccess-VCMP/web/client/src/layout/index.jsx index 00370c9..8c0c6c8 100644 --- a/code/VideoAccess-VCMP/web/client/src/layout/index.jsx +++ b/code/VideoAccess-VCMP/web/client/src/layout/index.jsx @@ -154,7 +154,7 @@ const Root = props => { const { data } = e if (data && data.action) { if (data.action == 'initUser') { - await store.dispatch(actions.auth.initAuth(e.data)) + await store.dispatch(actions.auth.initAuth(data.user)) } else if (data.action == 'logout') { await store.dispatch(actions.auth.logout()) } @@ -190,7 +190,7 @@ const Root = props => { : '' } -