fix:优惠券自定义组件删除后,配置视图切换到商品列表页

This commit is contained in:
Apple 2022-11-11 10:19:43 +08:00
parent fb7a49a841
commit f4edbea179
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ export default class edittemplate extends React.Component {
content: <p>确认删除该模块</p>,
onConfirm: () => {
this.setState({ selectDom: '' });
Bus.emit('goodListPage')
Bus.emit('componentLib', { attr: selectDom, value: 0 })
},
onCancel: () => {