demo修改

This commit is contained in:
tsm 2024-04-30 10:57:27 +08:00
parent 5c7b055957
commit 29cdeca658
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ struct Index {
this.transformSquare1(webpUrl); this.transformSquare1(webpUrl);
}); });
}.margin({top:20,bottom:20}) }.margin({top:20,bottom:20})
Text("原图字节大小") Text("原图字节大小"+this.BytesNumber1)
Column(){ Column(){
if (this.mSquarePixelMap1) { if (this.mSquarePixelMap1) {
Image(this.mSquarePixelMap1 == undefined ? '' : this.mSquarePixelMap1!) Image(this.mSquarePixelMap1 == undefined ? '' : this.mSquarePixelMap1!)
@ -126,7 +126,7 @@ struct Index {
}); });
}.margin({top:20,bottom:20}) }.margin({top:20,bottom:20})
Text("降采样字节大小") Text("降采样字节大小:"+this.BytesNumber2)
this.TextInputSample() this.TextInputSample()
Column(){ Column(){
if (this.mSquarePixelMap2) { if (this.mSquarePixelMap2) {