下采样冲突解决
This commit is contained in:
parent
07585cfea2
commit
0decea629a
|
@ -287,7 +287,7 @@ struct Index {
|
||||||
});
|
});
|
||||||
Button('gif')
|
Button('gif')
|
||||||
.onClick(() => {
|
.onClick(() => {
|
||||||
this.transformSquare2(gifUrl);
|
// this.transformSquare2(gifUrl);
|
||||||
this.ImageKnifeOption1 = {
|
this.ImageKnifeOption1 = {
|
||||||
loadSrc: gifUrl,
|
loadSrc: gifUrl,
|
||||||
placeholderSrc: $r('app.media.icon_loading'),
|
placeholderSrc: $r('app.media.icon_loading'),
|
||||||
|
@ -296,7 +296,7 @@ struct Index {
|
||||||
});
|
});
|
||||||
Button('webp')
|
Button('webp')
|
||||||
.onClick(() => {
|
.onClick(() => {
|
||||||
this.transformSquare2(webpUrl);
|
// this.transformSquare2(webpUrl);
|
||||||
this.ImageKnifeOption1 = {
|
this.ImageKnifeOption1 = {
|
||||||
loadSrc: webpUrl,
|
loadSrc: webpUrl,
|
||||||
placeholderSrc: $r('app.media.icon_loading'),
|
placeholderSrc: $r('app.media.icon_loading'),
|
||||||
|
|
Loading…
Reference in New Issue