king
2023-06-14 e250f7a3bb1f9ce2900c5d538fae9d1f73084715
src/views/menudesign/index.jsx
@@ -73,6 +73,13 @@
  }
  UNSAFE_componentWillMount() {
    if (sessionStorage.getItem('devError') === 'true') {
      sessionStorage.clear()
      window.history.replaceState(null, null, window.location.href.split('#')[0] + '#/login')
      window.location.reload()
      return
    }
    if (!sessionStorage.getItem('UserID')) {
      sessionStorage.removeItem('isEditState')
      sessionStorage.removeItem('appType')
@@ -87,6 +94,7 @@
    window.GLOB.TabsMap = new Map()          // 缓存用户操作的标签页
    window.GLOB.urlFields = []               // url变量
    window.GLOB.customMenu = null            // 保存菜单信息
    window.GLOB.developing = true
    try {
      let param = JSON.parse(window.decodeURIComponent(window.atob(this.props.match.params.param)))
@@ -864,8 +872,6 @@
      menuloading: true
    })
    window.GLOB.saving = true
    setTimeout(() => {
      let _pass = this.verifyConfig(config)
@@ -1029,8 +1035,6 @@
          menuloading: false
        })
        window.GLOB.saving = false
        if (!res) return
        if (res.status) {
@@ -1055,8 +1059,6 @@
    this.setState({
      menuloading: false
    })
    window.GLOB.saving = false
    if (!error) {
      notification.warning({