影像质控问题配置未勾选问题提交会报错
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
f512c1456a
commit
ec6a72e143
|
@ -145,14 +145,16 @@ export default {
|
||||||
arr.map(item => {
|
arr.map(item => {
|
||||||
this.$refs.qsList.toggleRowSelection(item, selected)
|
this.$refs.qsList.toggleRowSelection(item, selected)
|
||||||
})
|
})
|
||||||
|
let list = [...selection, ...arr]
|
||||||
if (selected) {
|
if (selected) {
|
||||||
arr.forEach(item => {
|
list.forEach(item => {
|
||||||
if (!this.selectArr.find(d => d.Id === item.Id)) {
|
if (!this.selectArr.find(d => d.Id === item.Id)) {
|
||||||
this.selectArr.push(arr)
|
this.selectArr.push(item)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
arr.forEach(item => {
|
list = [row, ...arr]
|
||||||
|
list.forEach(item => {
|
||||||
let index = this.selectArr.indexOf(d => d.Id === item.Id)
|
let index = this.selectArr.indexOf(d => d.Id === item.Id)
|
||||||
if (!~index) {
|
if (!~index) {
|
||||||
this.selectArr.splice(index, 1)
|
this.selectArr.splice(index, 1)
|
||||||
|
|
Loading…
Reference in New Issue