提交 9f9eef9e 编写于 作者: Q qiang

fix: touchtrack

上级 99ed09f6
......@@ -253,7 +253,7 @@ export default {
_onTrack: function (e) {
if (!this.disabled) {
return e.detail.state === 'move' ? (this._onUserChangedValue({
x: e.detail.x0
x: e.detail.x
}), this.$trigger('changing', e, {
value: this.sliderValue
}), !1) : (e.detail.state === 'end' && this.$trigger('change', e, {
......
......@@ -35,8 +35,8 @@ export default {
changedTouches: $event.changedTouches,
detail: {
state,
x0: x,
y0: y,
x: x,
y: y,
dx: x - x0,
dy: y - y0,
ddx: x - x1,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册