提交 564480d9 编写于 作者: 郭胜强

Merge branch 'master' into dev

{
"name": "@dcloudio/uni-h5",
"version": "0.0.8",
"version": "0.0.9",
"description": "uni-app h5",
"main": "dist/index.umd.min.js",
"scripts": {
......
......@@ -68,8 +68,11 @@ export default {
}
},
_resize ({ width, height }) {
this.$refs.canvas.width = width
this.$refs.canvas.height = height
var canvas = this.$refs.canvas
if (canvas.width !== width || canvas.height !== height) {
canvas.width = width
canvas.height = height
}
},
_touchmove (event) {
if (this.disableScroll) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册