king
2021-09-02 3d4bc79a80eb9cff0f8ef7c53f9685c9ff9fbd2d
src/views/pcdesign/index.jsx
@@ -91,7 +91,7 @@
          localedict: sessionStorage.getItem('lang') !== 'en-US' ? antdZhCN : antdEnUS,
          dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS
        })
        this.getAppMessage()
        this.getAppMessage(param.MenuID)
      } else if (param.type === 'view') {
        this.setState({
          MenuId: param.MenuID
@@ -193,7 +193,7 @@
    this.props.history.push('/pcdesign/' + param)
  }
  getAppMessage = () => {
  getAppMessage = (MenuID) => {
    Api.getSystemConfig({
      func: 's_get_keyids',
      bid: sessionStorage.getItem('appId')
@@ -207,9 +207,9 @@
        return
      }
      let homeId = ''
      let homeId = MenuID || ''
      let appViewList = []
      if (res.data && res.data.length > 0) {
      if (!homeId && res.data && res.data.length > 0) {
        appViewList = res.data
        appViewList.forEach(item => {
          if (item.keys_type === 'index') {