Skip to content

ec-canvas.wxml 文件建议使用 catch 绑定 touchmove 事件增强性能优化,而不是使用 bind 绑定 touchmove #963

@qq31311137

Description

@qq31311137
Image

由于小程序使用 bind:touchmove 会使移动性能下降,导致在手机上面按住移动时不断移动, tooptip 移动显示会在一段时间变得非常卡顿,这是因为 ec-canvas.wxml 使用了 bind 绑定了 touchmove 事件,这边建议修改成 catch:touchmove 事件,性能会明显增加

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions