解决tree节点选中后 点击其他位置会自动取消选中问题
This commit is contained in:
		
							parent
							
								
									6b4429c111
								
							
						
					
					
						commit
						4dd3b7d9ce
					
				|  | @ -13,8 +13,9 @@ | |||
|                     <div class="leftContent"> | ||||
|                         <el-input placeholder="输入关键字进行过滤" v-model="filterText" clearable> | ||||
|                         </el-input> | ||||
|                         <el-tree class="filter-tree" :data="crewTypeDate" :props="defaultProps" default-expand-all | ||||
|                             :filter-node-method="filterNode" ref="tree" @node-click="handleNodeClick"></el-tree> | ||||
|                         <el-tree class="filter-tree" node-key="index" :data="crewTypeDate" :props="defaultProps" | ||||
|                             default-expand-all :filter-node-method="filterNode" highlight-current="true" | ||||
|                             :current-node-key="activeType" ref="tree" @node-click="handleNodeClick"></el-tree> | ||||
|                     </div> | ||||
|                 </el-col> | ||||
|                 <el-col :span="20"> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 王成明
						王成明