| | |
| | | func: 'sPC_MainMenu_Del', |
| | | MenuID: menu.card.MenuID |
| | | } |
| | | return Api.getSystemConfig(param).then(res => { |
| | | return Api.getCloudConfig(param).then(res => { |
| | | if (res.status) { |
| | | MKEmitter.emit('mkUpdateMenuList') |
| | | } else { |
| | |
| | | title: '确认调整菜单顺序吗?', |
| | | content: '', |
| | | onOk() { |
| | | return Api.getSystemConfig(param).then(res => { |
| | | return Api.getCloudConfig(param).then(res => { |
| | | if (res.status) { |
| | | that.setState({ change: false }) |
| | | MKEmitter.emit('mkUpdateMenuList') |
| | |
| | | this.setState({ |
| | | loading: true |
| | | }) |
| | | Api.getSystemConfig(param).then(res => { |
| | | Api.getCloudConfig(param).then(res => { |
| | | if (res.status) { |
| | | this.setState({ |
| | | loading: false, |