hookehuyr

✨ feat: 多选控件新增绑定默认值

<!--
* @Date: 2022-08-30 11:34:19
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-01-17 16:44:05
* @LastEditTime: 2023-01-18 16:21:13
* @FilePath: /data-table/src/components/CheckboxField/index.vue
* @Description: 多项选择控件
-->
......@@ -51,7 +51,7 @@ const themeVars = {
};
onMounted(() => {
// 默认值为数组
props.item.value = [];
props.item.value = props.item.component_props.default;
});
// 隐藏显示
const HideShow = computed(() => {
......