mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-10-31 23:31:48 +09:00
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
Block a user