mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-23 19:32:35 +00:00
fix: 移动端无法长按录音的问题
This commit is contained in:
parent
003b52fbc9
commit
f1d267e2b2
@ -912,7 +912,7 @@ export default {
|
||||
this.touchLimitX = false;
|
||||
this.touchLimitY = false;
|
||||
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;
|
||||
}
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user