增加旋转屏幕刷新页面布局
This commit is contained in:
@@ -30,6 +30,11 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
window.onorientationonchange = () => {
|
||||
if ([90, -90].includes(window.orientation)) {
|
||||
location.reload()
|
||||
}
|
||||
}
|
||||
this.initDrawer()
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user