Skip to content

这段代码怎么理解 #1

@Deadpool957

Description

@Deadpool957

$img.setAttribute('srcset', $img.getAttribute('data-src2')+" 2x,"+$img.getAttribute('data-src3')+" 3x");
$img.setAttribute('src', $img.getAttribute('data-src2'));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions