king
2024-11-07 a02fc6a77fa1b35c6516b2d37108d80e260c6c85
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 || ''
@@ -430,7 +431,7 @@
            if (!isNaN(s) && s > 90) {
              Modal.warning({
                width: 520,
                title: <span>系统检测到您的账户存在风险,请及时到<a target="_blank" rel="noopener noreferrer" href="https://cloud.mk9h.cn/admin/index.html">云中心</a>修改密码!</span>,
                title: <span>系统检测到您的账户存在风险,请及时到<a target="_blank" rel="noopener noreferrer" href="https://cloud.positecgroup.com/admin/index.html">云中心</a>修改密码!</span>,
                okText: '知道了'
              })
              return
@@ -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>