hookehuyr

fix

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-07-30 15:50:20 4 + * @LastEditTime: 2024-07-30 16:51:42
5 * @FilePath: /data-table/src/components/OrgPickerField/MyComponent.vue 5 * @FilePath: /data-table/src/components/OrgPickerField/MyComponent.vue
6 * @Description: 树形组件 6 * @Description: 树形组件
7 --> 7 -->
...@@ -652,7 +652,8 @@ const onSearchResultClick = (val, evt) => { // 搜索结果集项点击回调 ...@@ -652,7 +652,8 @@ const onSearchResultClick = (val, evt) => { // 搜索结果集项点击回调
652 let obj = { // 点击元素属性 652 let obj = { // 点击元素属性
653 id: +id, 653 id: +id,
654 name, 654 name,
655 - type 655 + type,
656 + role_list: val?.role_list?.length ? val?.role_list : []
656 } 657 }
657 658
658 // 对应类型添加到选中组 659 // 对应类型添加到选中组
......