未验证 提交 ce7f382b 编写于 作者: 爱吃薯片的内存条 提交者: GitHub

fix: 修复tree组件初次渲染时无法应用已勾选的节点数组及一处字段名错误 (#1854)

上级 1832d0c0
......@@ -71,7 +71,7 @@
selectedKeys: state.selectedKeys,
checkedKeys: state.checkedKeys,
checkStrictly: state.checkStrictly,
filedNames: unref(getFieldNames),
fieldNames: unref(getFieldNames),
'onUpdate:expandedKeys': (v: KeyType[]) => {
state.expandedKeys = v;
emit('update:expandedKeys', v);
......@@ -293,6 +293,7 @@
() => {
state.checkedKeys = toRaw(props.value || []);
},
{ immediate: true },
);
watch(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册