king
2024-11-07 a02fc6a77fa1b35c6516b2d37108d80e260c6c85
src/views/main/index.jsx
@@ -11,6 +11,7 @@
const Tabview = asyncComponent(() => import('@/components/tabview'))
const Breadview = asyncComponent(() => import('@/components/breadview'))
const SysMessage = asyncComponent(() => import('@/components/header/sysmessage/index'))
class Main extends Component {
  state = {
@@ -72,15 +73,18 @@
    if (!this.state.userId) return null
    return (
      <>
      <div className="mk-main-view">
        <Header key="header"/>
        {navBar === 'shutter' ? <Sidemenu key="sidemenu"/> : null}
        {navBar === 'shutter' || navBar === 'menu_board_navigation' ?
          <Tabview key="tabview"/> :
          <Breadview key="breadview"/>}
        {window.GLOB.systemType === 'production' ? <QueryLog /> : null}
        <ImgScale />
      </div>
        {window.GLOB.systemType === 'production' ? <QueryLog /> : null}
        {window.GLOB.SysNotice ? <SysMessage /> : null}
      </>
    )
  }
}