online开发,使用部门选择组件时,多个默认参数时,仍然有问题。点击“确认”按钮,没反应。 #4166
							parent
							
								
									b19ddbd449
								
							
						
					
					
						commit
						5b4a37cf95
					
				|  | @ -89,7 +89,8 @@ export function useTreeBiz(treeRef, getList, props) { | |||
|         if (info.checked) { | ||||
|           //update-begin-author:taoyan date:20220408 for: 单选模式下,设定rowKey,无法选中数据-
 | ||||
|           checkedKeys.value = [info.node.eventKey]; | ||||
|           let temp = info.checkedNodes.find((n) => n.key === info.node.eventKey); | ||||
|           let rowKey = props.rowKey; | ||||
|           let temp = info.checkedNodes.find((n) => n[rowKey] === info.node.eventKey); | ||||
|           selectRows.value = [temp]; | ||||
|           //update-end-author:taoyan date:20220408 for: 单选模式下,设定rowKey,无法选中数据-
 | ||||
|         } else { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 zhangdaiscott
						zhangdaiscott