进村入库,修复定制方案的BUG

This commit is contained in:
aixianling
2022-07-14 11:52:00 +08:00
parent 4b4baf4952
commit 0f03dc9d04
4 changed files with 25 additions and 19 deletions

View File

@@ -107,7 +107,7 @@ export default {
const {nodeKey} = this
if (this.multiple) {
let selected = this.$copy(this.selected),
choose = this.$copy(this.choose)
choose = this.$copy(this.choose) || []
if (row.checked) {
selected.push(row[nodeKey])
choose.push(row)