26527
This commit is contained in:
@@ -144,9 +144,6 @@ export default {
|
|||||||
if (!this.form.discussDeadline) {
|
if (!this.form.discussDeadline) {
|
||||||
return this.$u.toast('请选择议事截止时间')
|
return this.$u.toast('请选择议事截止时间')
|
||||||
}
|
}
|
||||||
if (!this.form.publicityDeadline) {
|
|
||||||
return this.$u.toast('请选择公示截止时间')
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.form.type === '1') {
|
if (this.form.type === '1') {
|
||||||
if (!this.list.length) {
|
if (!this.list.length) {
|
||||||
@@ -159,13 +156,13 @@ export default {
|
|||||||
list = this.list.map((v, index) => {
|
list = this.list.map((v, index) => {
|
||||||
return {
|
return {
|
||||||
content: v.content,
|
content: v.content,
|
||||||
item: this.keys[index]
|
item: this.keys[index],
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
for (let i = 0; i < list.length; i++) {
|
for (let i = 0; i < list.length; i++) {
|
||||||
if (!list[i].content) {
|
if (!list[i].content) {
|
||||||
return this.$u.toast(`请输入弟${i + 1}个选项的内容`)
|
return this.$u.toast(`请输入第${i + 1}个选项的内容`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -200,7 +197,7 @@ export default {
|
|||||||
// return this.$u.toast('请输入选项内容')
|
// return this.$u.toast('请输入选项内容')
|
||||||
// }
|
// }
|
||||||
this.list.push({
|
this.list.push({
|
||||||
content: ''
|
content: '',
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user