mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-30 15:58:05 +09:00
スマホでデスクトップモードにできないように
This commit is contained in:
parent
b7fd3889c4
commit
7f0c9e8c10
@ -48,6 +48,12 @@ export default defineComponent({
|
||||
},
|
||||
},
|
||||
|
||||
created() {
|
||||
if (window.innerWidth < 1024) {
|
||||
localStorage.setItem('ui', 'default');
|
||||
location.reload();
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
help() {
|
||||
|
Loading…
Reference in New Issue
Block a user