fix(我的模板):新增优惠券白名单模板,已经上传输入框,保存时仍提示【请上传落地页输入框】
This commit is contained in:
parent
8827d70b24
commit
4fef6f3c09
|
@ -334,8 +334,10 @@ export default class edittemplate extends React.Component {
|
|||
this.setState({ activeNavStatus: 1 })
|
||||
return
|
||||
}
|
||||
|
||||
if (!this.state.model.middle_image) {
|
||||
let iptImg=true;
|
||||
if(this.state.showType==8) if(!this.state.model.white_image) iptImg=false;
|
||||
if(this.state.showType!=8) if(!this.state.model.middle_image) iptImg=false;
|
||||
if(!iptImg){
|
||||
Notify.clear()
|
||||
Notify.error('请上传落地页输入框')
|
||||
this.setState({ activeNavStatus: 1 })
|
||||
|
|
Loading…
Reference in New Issue