表格width NaN Warning处理
This commit is contained in:
parent
a62de8e130
commit
969b831528
|
@ -11251,7 +11251,7 @@
|
|||
} else if (width) {
|
||||
width = parseInt(width);
|
||||
}
|
||||
if (lastShowIndex == i) {
|
||||
if (lastShowIndex == i && width) {
|
||||
width = width + contentWidthDiff;
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -589,7 +589,7 @@ class Table extends Component {
|
|||
} else if (width) {
|
||||
width = parseInt(width);
|
||||
}
|
||||
if (lastShowIndex == i) {
|
||||
if (lastShowIndex == i && width) {
|
||||
width = width + contentWidthDiff;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue