BUG 29533

This commit is contained in:
aixianling
2022-05-06 18:37:58 +08:00
parent 58d31d9f3c
commit d160e19b61
2 changed files with 17 additions and 29 deletions

View File

@@ -51,7 +51,7 @@ export default {
console.log('发送', data)
this.$emit("update:selected", data)
this.$emit("select", data)
this.$emit("change", data.map(e => e[nodeKey]))
this.$emit("change", [data].flat()?.map(e => e[nodeKey]))
})
let url = `${config.url}`,
qsstr = qs.stringify({