mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 04:23:09 +02:00
スマホでデスクトップモードにできないように
This commit is contained in:
parent
19f4812c03
commit
4299e3f90c
1 changed files with 6 additions and 0 deletions
|
@ -48,6 +48,12 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
created() {
|
||||||
|
if (window.innerWidth < 1024) {
|
||||||
|
localStorage.setItem('ui', 'default');
|
||||||
|
location.reload();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
help() {
|
help() {
|
||||||
|
|
Loading…
Reference in a new issue