diff --git a/code/VideoAccess-VCMP/web/client/assets/images/application/背景@2x (1).png b/code/VideoAccess-VCMP/web/client/assets/images/application/背景@2x (1).png new file mode 100644 index 0000000..3c9cbb3 Binary files /dev/null and b/code/VideoAccess-VCMP/web/client/assets/images/application/背景@2x (1).png differ diff --git a/code/VideoAccess-VCMP/web/client/src/app.jsx b/code/VideoAccess-VCMP/web/client/src/app.jsx index 7674e71..bf0dea3 100644 --- a/code/VideoAccess-VCMP/web/client/src/app.jsx +++ b/code/VideoAccess-VCMP/web/client/src/app.jsx @@ -20,7 +20,9 @@ const App = props => { const { projectName } = props useEffect(() => { - document.title = projectName; + if (!window.__MICRO_APP_ENVIRONMENT__) { + document.title = projectName; + } }, []) return ( diff --git a/code/VideoAccess-VCMP/web/client/src/layout/components/header/index.jsx b/code/VideoAccess-VCMP/web/client/src/layout/components/header/index.jsx index ee70c87..91d4233 100644 --- a/code/VideoAccess-VCMP/web/client/src/layout/components/header/index.jsx +++ b/code/VideoAccess-VCMP/web/client/src/layout/components/header/index.jsx @@ -4,92 +4,95 @@ import { connect } from "react-redux"; import { Nav, Avatar, Dropdown } from "@douyinfe/semi-ui"; const Header = (props) => { - const { dispatch, history, user, actions, socket } = props; + const { dispatch, history, user, actions, socket } = props; - return ( - <> -