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
2024-06-17 09:51:14 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
53ac6dfbe21ea0012b5b6f8f9c06d11f11fb4666
53ac6dfb
1 parent
d31049f6
fix 树形结构组件获取到默认值时把它发送到表单
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
src/components/OrgPickerField/MyComponent.vue
src/components/OrgPickerField/MyComponent.vue
View file @
53ac6df
<!--
* @Date: 2022-08-29 14:31:20
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-06-1
4 16:06:58
* @LastEditTime: 2024-06-1
7 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));
}
});
...
...
Please
register
or
login
to post a comment