优化
This commit is contained in:
parent
c46f41d852
commit
b4c30ccf3d
@ -178,9 +178,10 @@ export default {
|
|||||||
return item.detailDtos ? item.detailDtos.filter(i => !i.isDelete).length : 0
|
return item.detailDtos ? item.detailDtos.filter(i => !i.isDelete).length : 0
|
||||||
},
|
},
|
||||||
async handleGetNext () {
|
async handleGetNext () {
|
||||||
for (let i in this.obj.recortModelDtos) {
|
const arr = this.handleFilter(this.obj.recortModelDtos)
|
||||||
if (this.obj.recortModelDtos[i].detailDtos.length > 0 && !this.obj.recortModelDtos[i].isTrue) {
|
for (let i in arr) {
|
||||||
this.$message.error(this.obj.recortModelDtos[i].name + '维度内的权重和必须为' + Math.round((this.obj.recortModelDtos[i].weight * 100) * 1000) / 1000)
|
if (arr[i].detailDtos.length > 0 && !arr[i].isTrue) {
|
||||||
|
this.$message.error(arr[i].name + '维度内的权重和必须为' + Math.round((arr[i].weight * 100) * 1000) / 1000)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user