File tree Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ Vx.x.x(TPL)
77-    Style
88-    Dependencies Changes
99
10+ V2.8.2
11+ 
12+ ### Bug Fixes  
13+ 
14+ -    修复行 key 为 0 时,行高亮失效的问题
15+ 
1016V2.8.1
1117
1218### Bug Fixes  
Original file line number Diff line number Diff line change 11{
22    "name" : " vue-easytable"  ,
3-     "version" : " 2.8.1 "  ,
3+     "version" : " 2.8.2 "  ,
44    "main" : " libs/main.js"  ,
55    "description" : " Vue table component"  ,
66    "keywords" : [
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import VeSelect from './ve-select';
1212import  VeTable  from  './ve-table' ; 
1313
1414
15- const  version  =  '2.8.1 ' ; 
15+ const  version  =  '2.8.2 ' ; 
1616const  components  =  [ 
1717  VeCheckbox , 
1818  VeCheckboxGroup , 
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { clsName } from "../util";
33import  {  COMPS_NAME ,  EMIT_EVENTS ,  COMPS_CUSTOM_ATTRS  }  from  "../util/constant" ; 
44import  VueDomResizeObserver  from  "../../../src/comps/resize-observer" ; 
55import  emitter  from  "../../../src/mixins/emitter" ; 
6+ import  {  isEmptyValue  }  from  "../../../src/utils" ; 
67export  default  { 
78    name : COMPS_NAME . VE_TABLE_BODY_TR , 
89    mixins : [ emitter ] , 
@@ -141,7 +142,7 @@ export default {
141142
142143            let  isHighlight  =  false ; 
143144
144-             if  ( highlightRowKey )  { 
145+             if  ( ! isEmptyValue ( highlightRowKey ) )  { 
145146                if  ( highlightRowKey  ===  currentRowKey )  { 
146147                    isHighlight  =  true ; 
147148                } 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments