mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-23 22:50:51 +08:00
feat(ui): hide menu by default on mobile
This commit is contained in:
@@ -25,7 +25,7 @@ export default {
|
||||
name: 'App',
|
||||
components: { HeaderComponent, MenuComponent },
|
||||
data() {
|
||||
return { menuVisible: true }
|
||||
return { menuVisible: window.innerWidth > 768 }
|
||||
},
|
||||
computed: {
|
||||
hideMenu() {
|
||||
|
||||
Reference in New Issue
Block a user