...
大前端

关于小程序上canvas移动卡顿的解决方法

使用canvas做图片裁剪的时候,
偶尔出现卡顿情况,是移动事件向上冒泡导致的,
添加以下代码阻止冒泡行为:

@touchmove.stop.prevent="()=>{}"

<canvas id="canvas" type="2d"  @touchstart="canvasTouch" @touchmove="canvasTouch" @touchend="canvasTouch" @touchmove.stop.prevent="()=>{}"></canvas>
hi3798mv100编译ch341串口驱动 如何在Linux上安装和配置Syncthing,实现文件同步
biu biu biu
JS取汉字首字母 分享一个多设备音频共享软件:Soundit css 识别\n换行 windows10打印机共享出现0x0000011b,一键修复0x0000011b 解决async await引发的Uncaught ReferenceError: regeneratorRuntime is not defined问题