Commit 58fb112d by zhujian

fix:upload优化

parent a8783b47
......@@ -218,8 +218,9 @@ class StoreH5Decoration extends React.Component {
termType: 'H5_ADMIN',
}
StoreService.editStoreBanner(params).then((res) => {
message.success('设置成功')
this.getStoreDecorationList()
message.success('设置成功');
this.getStoreDecorationList();
this.setState({showSelectFileModal:false});
})
}
......@@ -243,8 +244,9 @@ class StoreH5Decoration extends React.Component {
termType: 'H5_ADMIN',
}
StoreService.addStoreBanner(params).then((res) => {
message.success('设置成功')
this.getStoreDecorationList()
message.success('设置成功');
this.getStoreDecorationList();
this.setState({showSelectFileModal:false});
})
}
......
......@@ -218,6 +218,7 @@ class StoreWebDecoration extends React.Component {
StoreService.editStoreBanner(params).then((res) => {
message.success('设置成功')
this.getStoreDecorationList()
this.setState({showSelectFileModal:false});
})
}
......@@ -242,7 +243,8 @@ class StoreWebDecoration extends React.Component {
}
StoreService.addStoreBanner(params).then((res) => {
message.success('设置成功')
this.getStoreDecorationList()
this.getStoreDecorationList();
this.setState({showSelectFileModal:false});
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment