Update deck.vue

This commit is contained in:
syuilo 2019-02-15 15:06:15 +09:00
parent dff65810c6
commit 9d5701f35a
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -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() {