| | |
| | | const UpdateFormTab = asyncLoadComponent(() => import('./updateFormTab')) |
| | | |
| | | document.body.className = '' |
| | | sessionStorage.setItem('isEditState', 'true') |
| | | |
| | | class BaseDesign extends Component { |
| | | state = { |
| | |
| | | } |
| | | |
| | | if (!sessionStorage.getItem('UserID')) { |
| | | sessionStorage.removeItem('isEditState') |
| | | this.props.history.replace('/login') |
| | | return |
| | | } |
| | |
| | | loading: true |
| | | }) |
| | | |
| | | Api.getSystemConfig(param).then(res => { |
| | | Api.getCloudConfig(param).then(res => { |
| | | if (res.status) { |
| | | editMenu.open_edition = res.open_edition || '' |
| | | editMenu.LongParam = '' |
| | |
| | | MenuID: editMenu.PageParam.copyMenuId |
| | | } |
| | | |
| | | Api.getSystemConfig(_param).then(res => { |
| | | Api.getCloudConfig(_param).then(res => { |
| | | if (res.status) { |
| | | if (res.LongParam) { |
| | | let _LongParam = '' |