影像质控问题配置未勾选问题提交会报错
continuous-integration/drone/push Build is passing Details

uat
wangxiaoshuang 2025-05-15 16:44:16 +08:00
parent f512c1456a
commit ec6a72e143
1 changed files with 5 additions and 3 deletions

View File

@ -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)