king
2020-04-02 5b94d171aea661d000509a32448921363c77af9b
src/components/header/index.jsx
@@ -5,6 +5,7 @@
import { is, fromJS } from 'immutable'
import moment from 'moment'
import {Dropdown, Menu, Icon, Modal, Form, notification, Switch, Button } from 'antd'
import asyncComponent from '@/utils/asyncComponent'
import {
  toggleCollapse,
@@ -17,6 +18,7 @@
  logout
} from '@/store/action'
import Api from '@/api'
import options from '@/store/options.js'
import zhCN from '@/locales/zh-CN/header.js'
import enUS from '@/locales/en-US/header.js'
import Utils from '@/utils/utils.js'
@@ -145,7 +147,7 @@
  async loadmenu () {
    // 获取主菜单
    let _param = {func: 'sPC_Get_MainMenu'}
    let _param = {func: 'sPC_Get_MainMenu', systemType: options.systemType}
    if (sessionStorage.getItem('isEditState') === 'true') { // 编辑状态时,获取一级菜单,增加参数debug
      _param.debug = 'Y'
    }