From 873d4bd7076c509d70984b03c13ba38a7a05071e Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 30 Dec 2020 11:08:41 +0900 Subject: [PATCH] clean up --- src/client/ui/deck/main-column.vue | 1 - src/client/ui/default.vue | 7 ------- src/client/ui/visitor/a.vue | 7 ------- src/client/ui/visitor/b.vue | 7 ------- src/client/ui/zen.vue | 7 ------- 5 files changed, 29 deletions(-) diff --git a/src/client/ui/deck/main-column.vue b/src/client/ui/deck/main-column.vue index a4f1de44f..c09880d68 100644 --- a/src/client/ui/deck/main-column.vue +++ b/src/client/ui/deck/main-column.vue @@ -45,7 +45,6 @@ export default defineComponent({ return { deckStore, pageInfo: null, - pageKey: 0, } }, diff --git a/src/client/ui/default.vue b/src/client/ui/default.vue index d50b96411..0da410820 100644 --- a/src/client/ui/default.vue +++ b/src/client/ui/default.vue @@ -87,7 +87,6 @@ export default defineComponent({ data() { return { - pageKey: 0, pageInfo: null, isDesktop: window.innerWidth >= DESKTOP_THRESHOLD, menuDef: sidebarDef, @@ -108,12 +107,6 @@ export default defineComponent({ } }, - watch: { - $route(to, from) { - this.pageKey++; - }, - }, - created() { document.documentElement.style.overflowY = 'scroll'; diff --git a/src/client/ui/visitor/a.vue b/src/client/ui/visitor/a.vue index 669e06431..d25b5591e 100644 --- a/src/client/ui/visitor/a.vue +++ b/src/client/ui/visitor/a.vue @@ -63,7 +63,6 @@ export default defineComponent({ return { host, instanceName, - pageKey: 0, pageInfo: null, meta: null, narrow: window.innerWidth < 1280, @@ -88,12 +87,6 @@ export default defineComponent({ }, }, - watch: { - $route(to, from) { - this.pageKey++; - }, - }, - created() { document.documentElement.style.overflowY = 'scroll'; diff --git a/src/client/ui/visitor/b.vue b/src/client/ui/visitor/b.vue index 967cf0885..951302f2c 100644 --- a/src/client/ui/visitor/b.vue +++ b/src/client/ui/visitor/b.vue @@ -76,7 +76,6 @@ export default defineComponent({ return { host, instanceName, - pageKey: 0, pageInfo: null, meta: null, showMenu: false, @@ -106,12 +105,6 @@ export default defineComponent({ }, }, - watch: { - $route(to, from) { - this.pageKey++; - }, - }, - created() { document.documentElement.style.overflowY = 'scroll'; diff --git a/src/client/ui/zen.vue b/src/client/ui/zen.vue index c2a307da7..ab9e08e76 100644 --- a/src/client/ui/zen.vue +++ b/src/client/ui/zen.vue @@ -38,18 +38,11 @@ export default defineComponent({ data() { return { host: host, - pageKey: 0, pageInfo: null, faLayerGroup, faBars, faBell, faHome, faCircle, }; }, - watch: { - $route(to, from) { - this.pageKey++; - }, - }, - created() { document.documentElement.style.overflowY = 'scroll'; },