1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-01 16:28:12 +09:00

スマホでデスクトップモードにできないように

This commit is contained in:
syuilo 2020-11-08 13:39:36 +09:00
parent 19f4812c03
commit 4299e3f90c

View File

@ -48,6 +48,12 @@ export default defineComponent({
},
},
created() {
if (window.innerWidth < 1024) {
localStorage.setItem('ui', 'default');
location.reload();
}
},
methods: {
help() {