vue-crop-image-mobile icon indicating copy to clipboard operation
vue-crop-image-mobile copied to clipboard

性能问题

Open cuihu opened this issue 6 years ago • 1 comments

manage.compressImage函数写的有逻辑问题吧,两次调用canvas.toDataURL是有性能问题的,在iOS上效果不错,在小米6上卡顿比较明显

cuihu avatar Jan 10 '19 11:01 cuihu

manage.compressImage函数写的有逻辑问题吧,两次调用canvas.toDataURL是有性能问题的,在iOS上效果不错,在小米6上卡顿比较明显

嗯嗯 canvas 的处理是有点问题,最近有空打算优化一下性能,加些其他功能,可能对手机的处理器要求高点,主要css3的动画耗 GPU,可以弄个参数关掉 css3 动画,提供降级方案

RedJue avatar Jan 10 '19 22:01 RedJue