翻转新样式

This commit is contained in:
aixianling
2023-01-05 16:11:12 +08:00
parent 6e78c666fd
commit 93fb710aa3

View File

@@ -44,7 +44,6 @@ export default {
mounted() { mounted() {
this.isVertical = ![90, -90].includes(window.orientation) this.isVertical = ![90, -90].includes(window.orientation)
window.onresize = () => { window.onresize = () => {
this.isVertical = ![90, -90].includes(window.orientation)
location.reload() location.reload()
} }
this.initDrawer() this.initDrawer()