fix:修复【系统营销模板】模板类型不同,保存时传值与设置不匹配

This commit is contained in:
Apple 2022-10-13 10:26:54 +08:00
parent e19cebe4d3
commit 5318ba9210
1 changed files with 4 additions and 1 deletions

View File

@ -350,7 +350,10 @@ export default class edittemplate extends React.Component {
//系统模板 //系统模板
this.setState({ activeNavStatus: 1 }) this.setState({ activeNavStatus: 1 })
if (this.state.showType != 3) { if (this.state.showType != 3) {
this.onmodelChange({ target: { value: 3 } }) Notify.clear();
Notify.error('请切换至兑换码保存')
self.setState({ loading_visible: false })
return
} }
} }
this.canvasImg.style.display = 'block' this.canvasImg.style.display = 'block'