mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-23 23:42:52 +08:00
【fix】 修复活动邀请模块的错误信息描述
This commit is contained in:
@@ -89,7 +89,7 @@ export default {
|
||||
return item.name
|
||||
})
|
||||
if (arr.length != Array.from(new Set(arr)).length) {
|
||||
return this.$toast('您孩子的姓名不能重复')
|
||||
return this.$toast('该子女信息已存在,请勿重复添加')
|
||||
}
|
||||
let feachData = {
|
||||
childrenList: this.childrenList
|
||||
|
||||
@@ -41,12 +41,19 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
next() {
|
||||
let num = this.childrenList.length;
|
||||
for (let child of this.childrenList) {
|
||||
console.log(child);
|
||||
// console.log(child);
|
||||
if (child.imgPath == '' || child.imgPath == null) {
|
||||
return this.$toast('请上传' + child.name + '的作品')
|
||||
// return this.$toast('请上传' + child.name + '的作品')
|
||||
i--
|
||||
}
|
||||
}
|
||||
if(num == 0){
|
||||
return this.$toast('子女参赛作品不能为空')
|
||||
}else if(num < this.childrenList.length){
|
||||
return this.$toast('您上传的作品信息与子女数量不符,请补充后再进行提交!')
|
||||
}
|
||||
let feachData = {}
|
||||
Object.assign(feachData, this.childInfo)
|
||||
feachData.childrenList = this.childrenList
|
||||
|
||||
Reference in New Issue
Block a user