mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-09 06:28:11 +00:00
fix: 移动端无法长按录音的问题
This commit is contained in:
parent
003b52fbc9
commit
f1d267e2b2
@ -912,7 +912,7 @@ export default {
|
|||||||
this.touchLimitX = false;
|
this.touchLimitX = false;
|
||||||
this.touchLimitY = false;
|
this.touchLimitY = false;
|
||||||
this.touchStart = event.type === "touchstart" ? event.touches[0] : event;
|
this.touchStart = event.type === "touchstart" ? event.touches[0] : event;
|
||||||
if (event.button === 0 && this.startRecord()) {
|
if ((event.button === undefined || event.button === 0) && this.startRecord()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user