this.props.dispatch({type: 'activity/addActivityPopup',payload: params,callback: (res) => {if (res.returnCode === 0) {message.success('新增成功');if (flag === true) {this.props.dispatch({type: 'activity/publishActivityPopup',payload: { codeList: [res.data] },callback: (res) => {openTab(this.props, `/management/frameList/index`);refreshPage(this.props, `/management/frameList/index`);},});} else {openTab(this.props, `/management/frameList/index`);refreshPage(this.props, `/management/frameList/index`);}} else {message.error(res.returnMsg);}},});