parent
b6cc6e148d
commit
f649c22bf0
|
@ -109,7 +109,7 @@ export default {
|
||||||
const width = DomHandler.getWidth(content);
|
const width = DomHandler.getWidth(content);
|
||||||
|
|
||||||
this.backwardIsDisabled = scrollLeft === 0;
|
this.backwardIsDisabled = scrollLeft === 0;
|
||||||
this.forwardIsDisabled = scrollLeft === scrollWidth - width;
|
this.forwardIsDisabled = parseInt(scrollLeft) === scrollWidth - width;
|
||||||
},
|
},
|
||||||
getKey(tab, i) {
|
getKey(tab, i) {
|
||||||
return (tab.props && tab.props.header) ? tab.props.header : i;
|
return (tab.props && tab.props.header) ? tab.props.header : i;
|
||||||
|
|
Loading…
Reference in New Issue