提交 51bbcd37 编写于 作者: shutao-dc's avatar shutao-dc

update resize-observer.uvue

上级 3da87e1f
...@@ -56,11 +56,11 @@ ...@@ -56,11 +56,11 @@
}) })
this.outBoxElement = uni.getElementById("outBox") this.outBoxElement = uni.getElementById("outBox")
if (this.outBoxElement != null) { if (this.outBoxElement != null) {
this.resizeObserver!.observe(this.outBoxElement) this.resizeObserver!.observe(this.outBoxElement!)
} }
this.innerBoxElement = uni.getElementById("innerBox") this.innerBoxElement = uni.getElementById("innerBox")
if (this.innerBoxElement != null) { if (this.innerBoxElement != null) {
this.resizeObserver!.observe(this.innerBoxElement) this.resizeObserver!.observe(this.innerBoxElement!)
} }
} }
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册