From a02fc6a77fa1b35c6516b2d37108d80e260c6c85 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 07 十一月 2024 22:05:08 +0800 Subject: [PATCH] 2024-11-07 --- src/components/header/index.jsx | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/header/index.jsx b/src/components/header/index.jsx index 33f5af8..4dd6942 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 || '' @@ -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