Browse Source

修改报表样式

wangchao 3 năm trước cách đây
mục cha
commit
f7a13a4bd5
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      pages/user/report.vue

+ 5 - 0
pages/user/report.vue

@@ -82,6 +82,11 @@
 			})
 			this.url = "https://liangxin.zthymaoyi.com/map.html?id="+uni.getStorageSync('pcUserInfo').compId
 			this.init()
+			uni.onWindowResize((res) => {
+			    console.log('变化后的窗口宽度=' + res.size.windowWidth)
+			    console.log('变化后的窗口高度=' + res.size.windowHeight)
+				this.init()
+			})
 		},
 		methods: {
 			skipContent(index){