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)
7
7
- Style
8
8
- Dependencies Changes
9
9
10
+ V2.8.2
11
+
12
+ ### Bug Fixes
13
+
14
+ - 修复行 key 为 0 时,行高亮失效的问题
15
+
10
16
V2.8.1
11
17
12
18
### Bug Fixes
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-easytable" ,
3
- "version" : " 2.8.1 " ,
3
+ "version" : " 2.8.2 " ,
4
4
"main" : " libs/main.js" ,
5
5
"description" : " Vue table component" ,
6
6
"keywords" : [
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import VeSelect from './ve-select';
12
12
import VeTable from './ve-table' ;
13
13
14
14
15
- const version = '2.8.1 ' ;
15
+ const version = '2.8.2 ' ;
16
16
const components = [
17
17
VeCheckbox ,
18
18
VeCheckboxGroup ,
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { clsName } from "../util";
3
3
import { COMPS_NAME , EMIT_EVENTS , COMPS_CUSTOM_ATTRS } from "../util/constant" ;
4
4
import VueDomResizeObserver from "../../../src/comps/resize-observer" ;
5
5
import emitter from "../../../src/mixins/emitter" ;
6
+ import { isEmptyValue } from "../../../src/utils" ;
6
7
export default {
7
8
name : COMPS_NAME . VE_TABLE_BODY_TR ,
8
9
mixins : [ emitter ] ,
@@ -141,7 +142,7 @@ export default {
141
142
142
143
let isHighlight = false ;
143
144
144
- if ( highlightRowKey ) {
145
+ if ( ! isEmptyValue ( highlightRowKey ) ) {
145
146
if ( highlightRowKey === currentRowKey ) {
146
147
isHighlight = true ;
147
148
}
You can’t perform that action at this time.
0 commit comments