Showing
1 changed file
with
4 additions
and
2 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-08-29 14:31:20 | 2 | * @Date: 2022-08-29 14:31:20 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-06-14 16:06:58 | 4 | + * @LastEditTime: 2024-06-17 09:46:57 |
| 5 | * @FilePath: /data-table/src/components/OrgPickerField/MyComponent.vue | 5 | * @FilePath: /data-table/src/components/OrgPickerField/MyComponent.vue |
| 6 | * @Description: 树形组件 | 6 | * @Description: 树形组件 |
| 7 | --> | 7 | --> |
| ... | @@ -266,7 +266,9 @@ onMounted(async () => { | ... | @@ -266,7 +266,9 @@ onMounted(async () => { |
| 266 | } else if (item.type === 'user') { | 266 | } else if (item.type === 'user') { |
| 267 | emitCheckedGroup.value.user.push(item); | 267 | emitCheckedGroup.value.user.push(item); |
| 268 | } | 268 | } |
| 269 | - }) | 269 | + }); |
| 270 | + // 发送到表单数据 | ||
| 271 | + tree_select_value.value = [].concat(...Object.values(emitCheckedGroup.value)); | ||
| 270 | } | 272 | } |
| 271 | }); | 273 | }); |
| 272 | 274 | ... | ... |
-
Please register or login to post a comment