Update deck.vue
This commit is contained in:
parent
dff65810c6
commit
9d5701f35a
|
@ -55,17 +55,16 @@ export default Vue.extend({
|
|||
}
|
||||
},
|
||||
|
||||
watch: {/*
|
||||
temporaryColumn() {
|
||||
if (this.temporaryColumn != null) {
|
||||
this.$nextTick(() => {
|
||||
this.$refs.body.scrollTo({
|
||||
left: this.$refs.body.scrollWidth - this.$refs.body.clientWidth,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
watch: {
|
||||
$route() {
|
||||
if (this.$route.name == 'index') return;
|
||||
this.$nextTick(() => {
|
||||
this.$refs.body.scrollTo({
|
||||
left: this.$refs.body.scrollWidth - this.$refs.body.clientWidth,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
}
|
||||
}*/
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
provide() {
|
||||
|
|
Loading…
Reference in New Issue