内容必填

This commit is contained in:
shijingjing
2023-04-04 16:31:04 +08:00
parent f44191578c
commit 8a896f2289
3 changed files with 41 additions and 20 deletions

View File

@@ -84,6 +84,10 @@ export default {
return this.$u.toast('请选择事件类型')
}
if (!this.form.content) {
return this.$u.toast('请输入详细描述')
}
if ((this.form.images.length + this.form.videos.length) > 9) {
return this.$u.toast('图片和视频不得超过9个')
} else {