From 4299e3f90c1b31ace1cb1484c521c0b25859cfb6 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 8 Nov 2020 13:39:36 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B9=E3=83=9E=E3=83=9B=E3=81=A7=E3=83=87?= =?UTF-8?q?=E3=82=B9=E3=82=AF=E3=83=88=E3=83=83=E3=83=97=E3=83=A2=E3=83=BC?= =?UTF-8?q?=E3=83=89=E3=81=AB=E3=81=A7=E3=81=8D=E3=81=AA=E3=81=84=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/ui/desktop.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/client/ui/desktop.vue b/src/client/ui/desktop.vue index 3f55c8329e..6c5159e83f 100644 --- a/src/client/ui/desktop.vue +++ b/src/client/ui/desktop.vue @@ -48,6 +48,12 @@ export default defineComponent({ }, }, + created() { + if (window.innerWidth < 1024) { + localStorage.setItem('ui', 'default'); + location.reload(); + } + }, methods: { help() {