king
2021-12-02 1c86e32abdc14d765de83db92bb16c05294c15b5
2021-12-02
2个文件已修改
9 ■■■■■ 已修改文件
src/views/mobdesign/index.jsx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/rolemanage/index.jsx 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mobdesign/index.jsx
@@ -235,9 +235,9 @@
        return
      }
      let homeId = MenuID || ''
      let homeId = ''
      let appViewList = []
      if (!homeId && res.data && res.data.length > 0) {
      if (res.data && res.data.length > 0) {
        appViewList = res.data
        appViewList.forEach(item => {
          if (item.keys_type === 'index') {
@@ -247,7 +247,7 @@
      }
      if (!homeId) {
        homeId = Utils.getuuid()
        homeId = MenuID || Utils.getuuid()
        let param = {
          func: 's_kei_link_keyids_addupt',
@@ -286,7 +286,7 @@
        })
      } else {
        sessionStorage.setItem('appViewList', JSON.stringify(appViewList))
        this.props.history.replace('/mobdesign/' + window.btoa(window.encodeURIComponent(JSON.stringify({MenuID: homeId, type: 'view'}))))
        this.props.history.replace('/mobdesign/' + window.btoa(window.encodeURIComponent(JSON.stringify({MenuID: MenuID || homeId, type: 'view'}))))
      }
    })
  }
src/views/rolemanage/index.jsx
@@ -55,6 +55,7 @@
  oriTrees = null
  UNSAFE_componentWillMount() {
    document.body.className = ''
    let param = JSON.parse(window.decodeURIComponent(window.atob(this.props.match.params.param)))
    this.setState({app: param}, () => {