This commit is contained in:
yanran200730
2022-01-06 17:28:39 +08:00
parent 252ea72212
commit b82cf2a0e1
4 changed files with 18 additions and 8 deletions

View File

@@ -175,6 +175,12 @@
item: this.keys[index]
}
})
for (let v of this.form.voteItems) {
if (!v.content) {
return this.$message.error(`请输入选项${v.item}的内容`)
}
}
}
this.instance.post(`/app/appvillagediscuss/addOrUpdate`, {