提交 6bc58715 编写于 作者: shutao-dc's avatar shutao-dc

get-window-info.uvue onReady获取WindowInfo

上级 eb2461ad
...@@ -34,6 +34,9 @@ ...@@ -34,6 +34,9 @@
}, },
onUnload: function () { onUnload: function () {
}, },
onReady() {
this.getWindowInfo()
},
methods: { methods: {
getWindowInfo: function () { getWindowInfo: function () {
const res = uni.getWindowInfo(); const res = uni.getWindowInfo();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册