fix: [el-cascader-panel] fix childrenData (close #3126) (#3131)

This commit is contained in:
feisha 2021-08-30 22:36:55 +08:00 committed by GitHub
parent f5d0b85dbf
commit 45c292c874
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,6 +129,7 @@ export default defineComponent({
dataList && store.value.appendNodes(dataList, parent)
node.loading = false
node.loaded = true
node.childrenData = node.childrenData || []
cb && cb(dataList)
}