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: {/* watch: {
temporaryColumn() { $route() {
if (this.temporaryColumn != null) { if (this.$route.name == 'index') return;
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.body.scrollTo({ this.$refs.body.scrollTo({
left: this.$refs.body.scrollWidth - this.$refs.body.clientWidth, left: this.$refs.body.scrollWidth - this.$refs.body.clientWidth,
behavior: 'smooth' behavior: 'smooth'
});
}); });
} });
}*/ }
}, },
provide() { provide() {