首页入库
This commit is contained in:
@@ -117,10 +117,12 @@ export default {
|
||||
}
|
||||
this.$emit("change", selected)
|
||||
this.$emit("update:choose", choose)
|
||||
this.$emit("select", choose)
|
||||
} else {
|
||||
this.tableData.map(e => e.checked = e[nodeKey] == row.id && row.checked)
|
||||
this.$emit("change", row.checked ? row[nodeKey] : '')
|
||||
this.$emit("update:choose", row.checked ? row : null)
|
||||
this.$emit("select", row.checked ? row : null)
|
||||
}
|
||||
},
|
||||
handleCheckAll(v) {
|
||||
@@ -131,6 +133,7 @@ export default {
|
||||
}).filter(e => e.checked) || []
|
||||
this.$emit("change", selected?.map(e => e[nodeKey]))
|
||||
this.$emit("update:choose", selected)
|
||||
this.$emit("select", selected)
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
Reference in New Issue
Block a user