egrte-取消居中约束
实际测试时发现为horizontalCenter/verticalCenter 赋值为null不可行
this.touchBox.horizontalCenter = undefined this.touchBox.verticalCenter = undefined
赋值为undefined即可取消居中约束
本文作者:博客园-前端法师
版权所有,转载请标明出处。
实际测试时发现为horizontalCenter/verticalCenter 赋值为null不可行
this.touchBox.horizontalCenter = undefined this.touchBox.verticalCenter = undefined
赋值为undefined即可取消居中约束