下采样冲突解决

This commit is contained in:
24186 2024-05-01 14:52:08 +08:00
parent 4b0707d32d
commit 246a359a39
1 changed files with 4 additions and 4 deletions

View File

@ -99,7 +99,7 @@ struct Index {
this.transformSquare1(this.url); this.transformSquare1(this.url);
}); });
Button('jpp') Button('jpg')
.onClick(() => { .onClick(() => {
this.transformSquare1(this.url); this.transformSquare1(this.url);
@ -157,7 +157,7 @@ struct Index {
errorholderSrc: $r('app.media.icon_failed'), errorholderSrc: $r('app.media.icon_failed'),
} }
}); });
Button('jpp') Button('jpg')
.onClick(() => { .onClick(() => {
this.transformSquare2(this.url); this.transformSquare2(this.url);
this.ImageKnifeOption1 = { this.ImageKnifeOption1 = {
@ -218,7 +218,7 @@ struct Index {
this.transformSquare1(bmpUrl); this.transformSquare1(bmpUrl);
}); });
Button('jpp') Button('jpg')
.onClick(() => { .onClick(() => {
this.transformSquare1(jpgUrl); this.transformSquare1(jpgUrl);
@ -276,7 +276,7 @@ struct Index {
errorholderSrc: $r('app.media.icon_failed'), errorholderSrc: $r('app.media.icon_failed'),
} }
}); });
Button('jpp') Button('jpg')
.onClick(() => { .onClick(() => {
this.transformSquare2(jpgUrl); this.transformSquare2(jpgUrl);
this.ImageKnifeOption1 = { this.ImageKnifeOption1 = {