Refactor #1446
parent
7744691246
commit
85be3bb715
|
@ -101,7 +101,7 @@ export default {
|
||||||
},
|
},
|
||||||
updateScrollBar(index) {
|
updateScrollBar(index) {
|
||||||
let tabHeader = this.$refs.nav.children[index];
|
let tabHeader = this.$refs.nav.children[index];
|
||||||
tabHeader.scrollIntoView(false);
|
tabHeader.scrollIntoView({ block: 'nearest' })
|
||||||
},
|
},
|
||||||
updateButtonState() {
|
updateButtonState() {
|
||||||
const content = this.$refs.content;
|
const content = this.$refs.content;
|
||||||
|
|
Loading…
Reference in New Issue