king
2022-11-21 f6626b05f1275cc2f8ca77f773d4f6a6af1b0a89
src/views/menudesign/homeform/index.jsx
@@ -13,15 +13,18 @@
    updateConfig: PropTypes.func
  }
  state = {
    menulist: []
  }
  state = {}
  UNSAFE_componentWillMount () {
    let _param = {func: 's_get_pc_menus', systemType: options.sysType, debug: 'Y'}
    _param.pro_sys = window.GLOB.systemType === 'production' ? 'Y' : ''
    if (sessionStorage.getItem('thdMenuList') && sessionStorage.getItem('fstMenuList')) {
    Api.getSystemConfig(_param).then(result => {
    } else {
      this.getMenus()
    }
  }
  getMenus = () => {
    Api.getSystemConfig({func: 's_get_pc_menus', systemType: options.sysType, debug: 'Y'}).then(result => {
      if (result.status) {
        let thdMenuList = []
        let menulist = result.fst_menu.map(fst => {