提交 b92a32e4 编写于 作者: Q qiang

fix: web-view left

上级 a30a906f
......@@ -42,7 +42,7 @@ export default {
_resize () {
const {
top,
bottom,
left,
width,
height
} = this.$el.getBoundingClientRect()
......@@ -51,7 +51,7 @@ export default {
this.iframe.style.display = 'block'
this.iframe.style.border = 0
this.iframe.style.top = top + 'px'
this.iframe.style.bottom = bottom + 'px'
this.iframe.style.left = left + 'px'
this.iframe.style.width = width + 'px'
this.iframe.style.height = height + 'px'
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册