|
|
|
@ -47,7 +47,7 @@ class GtopicBanksEdit extends Component{
|
|
|
|
|
axios.put(url,params).then((result)=>{
|
|
|
|
|
if(result){
|
|
|
|
|
this.props.showNotification('保存成功!');
|
|
|
|
|
this.props.history.push(`/banks/gtopic/${bankId}/${this.props.match.params.type}`);
|
|
|
|
|
this.props.history.push(`/banks/gtopic/${bankId}/${this.props.match.params.type}?tab=0`);
|
|
|
|
|
}
|
|
|
|
|
}).catch((error)=>{
|
|
|
|
|
console.log(error);
|
|
|
|
@ -56,7 +56,7 @@ class GtopicBanksEdit extends Component{
|
|
|
|
|
|
|
|
|
|
// 取消
|
|
|
|
|
editCancel = () =>{
|
|
|
|
|
this.props.history.push(`/banks/gtopic/${this.props.match.params.bankId}/${this.props.match.params.type}`);
|
|
|
|
|
this.props.history.push(`/banks/gtopic/${this.props.match.params.bankId}/${this.props.match.params.type}?tab=0`);
|
|
|
|
|
this.props.initPublic(undefined);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|