king
2022-10-04 41c55c1f103658b997f7a828a7067bdb228f1df0
src/views/menudesign/index.jsx
@@ -623,15 +623,23 @@
      let tbs = []
      let delButtons = fromJS(this.state.delButtons).toJS()
      let btns = this.getMenuMessage(delButtons, tbs)
      tbs = Array.from(new Set(tbs))
      let arr = []
      tbs = tbs.filter(tb => {
        let _tb = tb.toLowerCase()
        if (arr.includes(_tb)) return false
        arr.push(_tb)
        return true
      })
      tbs.sort()
      if (tbs.length && sessionStorage.getItem('mk_tb_names')) {
        let names = sessionStorage.getItem('mk_tb_names')
        tbs = tbs.filter(tb => names.indexOf(',' + tb.toLowerCase() + ',') > -1)
      }
      tbs = tbs.join(';')
      tbs = tbs.map(tb => `'${tb}'`).join(';')
      let key = md5(config.uuid + window.GLOB.appkey + tbs)
      let key = md5(config.uuid + window.GLOB.appkey + tbs.toLowerCase())
      let url = ''
      if (config.tbkey === key) {
@@ -659,7 +667,7 @@
        LTexttb: '',
        debug_md5: key,
        debug_url: url,
        debug_list: window.btoa(window.encodeURIComponent(tbs)),
        debug_list: window.btoa(tbs),
        LongParam: window.btoa(window.encodeURIComponent(JSON.stringify(config)))
      }