优化
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
|
||||
},
|
||||
async handleGetNext () {
|
||||
for (let i in this.obj.recortModelDtos) {
|
||||
if (this.obj.recortModelDtos[i].detailDtos.length > 0 && !this.obj.recortModelDtos[i].isTrue) {
|
||||
this.$message.error(this.obj.recortModelDtos[i].name + '维度内的权重和必须为' + Math.round((this.obj.recortModelDtos[i].weight * 100) * 1000) / 1000)
|
||||
const arr = this.handleFilter(this.obj.recortModelDtos)
|
||||
for (let i in arr) {
|
||||
if (arr[i].detailDtos.length > 0 && !arr[i].isTrue) {
|
||||
this.$message.error(arr[i].name + '维度内的权重和必须为' + Math.round((arr[i].weight * 100) * 1000) / 1000)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user