Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2023-01-18 16:22:15 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b68c3702cdee23b8dfda61a3da7d3971cb5b09f5
b68c3702
1 parent
0ef886e9
✨ feat: 多选控件新增绑定默认值
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/components/CheckboxField/index.vue
src/components/CheckboxField/index.vue
View file @
b68c370
<!--
* @Date: 2022-08-30 11:34:19
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-01-1
7 16:44:05
* @LastEditTime: 2023-01-1
8 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(() => {
...
...
Please
register
or
login
to post a comment