Compare commits

...

2 Commits

1 changed files with 3 additions and 0 deletions

View File

@ -127,14 +127,17 @@ export default {
this.isSubmit=true this.isSubmit=true
if(this.canteenId==""){ if(this.canteenId==""){
uni.$u.toast('请选择食堂') uni.$u.toast('请选择食堂')
this.isSubmit=false
return return
} }
if(this.stallId==""){ if(this.stallId==""){
uni.$u.toast('请选择档口') uni.$u.toast('请选择档口')
this.isSubmit=false
return return
} }
if(this.comment==""){ if(this.comment==""){
uni.$u.toast('请认真填写建议') uni.$u.toast('请认真填写建议')
this.isSubmit=false
return return
} }
let param = { let param = {