下采样冲突解决

This commit is contained in:
24186 2024-05-02 10:26:52 +08:00
parent 07585cfea2
commit 0decea629a
1 changed files with 2 additions and 2 deletions

View File

@ -287,7 +287,7 @@ struct Index {
});
Button('gif')
.onClick(() => {
this.transformSquare2(gifUrl);
// this.transformSquare2(gifUrl);
this.ImageKnifeOption1 = {
loadSrc: gifUrl,
placeholderSrc: $r('app.media.icon_loading'),
@ -296,7 +296,7 @@ struct Index {
});
Button('webp')
.onClick(() => {
this.transformSquare2(webpUrl);
// this.transformSquare2(webpUrl);
this.ImageKnifeOption1 = {
loadSrc: webpUrl,
placeholderSrc: $r('app.media.icon_loading'),