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
1 changed files with 9 additions and 10 deletions

View File

@ -55,9 +55,9 @@ 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,
@ -65,7 +65,6 @@ export default Vue.extend({
}); });
}); });
} }
}*/
}, },
provide() { provide() {