处理删除选中行的问题
This commit is contained in:
		
							parent
							
								
									9812c461ab
								
							
						
					
					
						commit
						e985496675
					
				| 
						 | 
				
			
			@ -156,7 +156,8 @@ export default {
 | 
			
		|||
        return item.id === this.selectedKey
 | 
			
		||||
      })
 | 
			
		||||
      console.log(idx);
 | 
			
		||||
      this.dataSource.splice(idx,1)
 | 
			
		||||
      this.dataSource.splice(idx, 1)
 | 
			
		||||
      this.selectedKey = ""
 | 
			
		||||
    },
 | 
			
		||||
    onCellChange(id, dataIndex, value) {
 | 
			
		||||
      const dataSource = [...this.dataSource];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user