| | |
| | | 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') { |
| | |
| | | } |
| | | |
| | | if (!homeId) { |
| | | homeId = Utils.getuuid() |
| | | homeId = MenuID || Utils.getuuid() |
| | | |
| | | let param = { |
| | | func: 's_kei_link_keyids_addupt', |
| | |
| | | }) |
| | | } 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'})))) |
| | | } |
| | | }) |
| | | } |