Skip to content

img xhr 列表下的img的src在init的时候会把所有的图片都通过xhrget一遍,在图片列表较大的时候很影响  #475

@shaohao123

Description

@shaohao123

img xhr 列表下的img的src在init的时候会把所有的图片都通过xhr获取一遍,在图片列表较大的时候很影响性能
image
发现核心代码在于kbone\packages\miniprogram-render\src\node\element\image.js 文件下的 这段代码:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions