Commit ae5aa52e authored by TtTao's avatar TtTao

修改:$u.sys更改为$u.sys()

parent 5fde4680
...@@ -221,7 +221,7 @@ ...@@ -221,7 +221,7 @@
}, },
// 获取凸起按钮外层元素的left值,让其水平居中 // 获取凸起按钮外层元素的left值,让其水平居中
getMidButtonLeft() { getMidButtonLeft() {
let windowWidth = this.$u.sys.windowWidth; let windowWidth = this.$u.sys().windowWidth;
// 由于安卓中css计算left: 50%的结果不准确,故用js计算 // 由于安卓中css计算left: 50%的结果不准确,故用js计算
this.midButtonLeft = (windowWidth / 2) + 'px'; this.midButtonLeft = (windowWidth / 2) + 'px';
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment