From e2fd227b24a2d188ef209dc47fabcc8390f2a94b Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 06 十一月 2024 10:58:13 +0800 Subject: [PATCH] 2024-11-06 --- src/components/header/index.jsx | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/header/index.jsx b/src/components/header/index.jsx index 5d74131..ebe1ff8 100644 --- a/src/components/header/index.jsx +++ b/src/components/header/index.jsx @@ -18,6 +18,7 @@ const Resetpwd = asyncComponent(() => import('@/components/resetPassword')) const QrCode = asyncComponent(() => import('@/components/qrcode')) const LoginForm = asyncSpinComponent(() => import('./loginform')) +const SysIcon = asyncComponent(() => import('./sysmessage/icon')) class Header extends Component { state = { @@ -331,7 +332,7 @@ ParentNames: [fst.MenuName, snd.MenuName], MenuNo: trd.MenuNo, EasyCode: trd.EasyCode, - type: 'CommonTable', + type: 'CustomPage', OpenType: 'newtab', hidden: 'false' } @@ -340,7 +341,7 @@ try { let PageParam = JSON.parse(trd.PageParam) - trdItem.type = PageParam.Template || 'CommonTable' + trdItem.type = PageParam.Template || 'CustomPage' trdItem.OpenType = PageParam.OpenType || 'newtab' trdItem.hidden = PageParam.hidden || 'false' trdItem.menuColor = PageParam.menuColor || '' @@ -561,9 +562,9 @@ MKEmitter.emit('modifyTabs', menu) } - // if (window.GLOB.systemType === 'production') { - // MKEmitter.emit('queryTrigger', {menuId: menu.MenuID, name: '鑿滃崟'}) - // } + if (window.GLOB.systemType === 'production') { + MKEmitter.emit('queryTrigger', {menuId: menu.MenuID, name: '鑿滃崟'}) + } } } @@ -787,6 +788,7 @@ <SearchOutlined className="search-menu" /> </Dropdown> : null } + {window.GLOB.SysNotice ? <SysIcon /> : null} {/* 澶村儚銆佺敤鎴峰悕 */} <Dropdown className="header-setting" overlay={menu}> <div> -- Gitblit v1.8.0