This commit is contained in:
syuilo 2020-12-30 11:08:41 +09:00
parent 97dea72c94
commit 873d4bd707
5 changed files with 0 additions and 29 deletions

View file

@ -45,7 +45,6 @@ export default defineComponent({
return { return {
deckStore, deckStore,
pageInfo: null, pageInfo: null,
pageKey: 0,
} }
}, },

View file

@ -87,7 +87,6 @@ export default defineComponent({
data() { data() {
return { return {
pageKey: 0,
pageInfo: null, pageInfo: null,
isDesktop: window.innerWidth >= DESKTOP_THRESHOLD, isDesktop: window.innerWidth >= DESKTOP_THRESHOLD,
menuDef: sidebarDef, menuDef: sidebarDef,
@ -108,12 +107,6 @@ export default defineComponent({
} }
}, },
watch: {
$route(to, from) {
this.pageKey++;
},
},
created() { created() {
document.documentElement.style.overflowY = 'scroll'; document.documentElement.style.overflowY = 'scroll';

View file

@ -63,7 +63,6 @@ export default defineComponent({
return { return {
host, host,
instanceName, instanceName,
pageKey: 0,
pageInfo: null, pageInfo: null,
meta: null, meta: null,
narrow: window.innerWidth < 1280, narrow: window.innerWidth < 1280,
@ -88,12 +87,6 @@ export default defineComponent({
}, },
}, },
watch: {
$route(to, from) {
this.pageKey++;
},
},
created() { created() {
document.documentElement.style.overflowY = 'scroll'; document.documentElement.style.overflowY = 'scroll';

View file

@ -76,7 +76,6 @@ export default defineComponent({
return { return {
host, host,
instanceName, instanceName,
pageKey: 0,
pageInfo: null, pageInfo: null,
meta: null, meta: null,
showMenu: false, showMenu: false,
@ -106,12 +105,6 @@ export default defineComponent({
}, },
}, },
watch: {
$route(to, from) {
this.pageKey++;
},
},
created() { created() {
document.documentElement.style.overflowY = 'scroll'; document.documentElement.style.overflowY = 'scroll';

View file

@ -38,18 +38,11 @@ export default defineComponent({
data() { data() {
return { return {
host: host, host: host,
pageKey: 0,
pageInfo: null, pageInfo: null,
faLayerGroup, faBars, faBell, faHome, faCircle, faLayerGroup, faBars, faBell, faHome, faCircle,
}; };
}, },
watch: {
$route(to, from) {
this.pageKey++;
},
},
created() { created() {
document.documentElement.style.overflowY = 'scroll'; document.documentElement.style.overflowY = 'scroll';
}, },