hookehuyr

fix 树形结构组件获取到默认值时把它发送到表单

<!--
* @Date: 2022-08-29 14:31:20
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-06-14 16:06:58
* @LastEditTime: 2024-06-17 09:46:57
* @FilePath: /data-table/src/components/OrgPickerField/MyComponent.vue
* @Description: 树形组件
-->
......@@ -266,7 +266,9 @@ onMounted(async () => {
} else if (item.type === 'user') {
emitCheckedGroup.value.user.push(item);
}
})
});
// 发送到表单数据
tree_select_value.value = [].concat(...Object.values(emitCheckedGroup.value));
}
});
......