demo报错修改
This commit is contained in:
parent
6e2a2ce20f
commit
b848e4bc6b
|
@ -15,7 +15,8 @@
|
|||
import { FitCenter, ImageKnifeComponent,
|
||||
ImageKnifeData,
|
||||
ImageKnifeGlobal,
|
||||
ImageKnifeOption, RequestOption } from '@ohos/libraryimageknife'
|
||||
ImageKnifeOption,
|
||||
RequestOption } from '@ohos/libraryimageknife'
|
||||
import { BusinessError } from '@ohos.base'
|
||||
import { fitter, sampleNone } from '@ohos/imageknife';
|
||||
|
||||
|
@ -104,9 +105,9 @@ struct DownsamplingPage {
|
|||
Column() {
|
||||
Column() {
|
||||
Text("ImageKnifeComponent用法").fontColor(Color.Gray).fontSize(16);
|
||||
ImageKnifeComponent({ imageKnifeOption: this.imageKnifeOption2 })
|
||||
.width(200)
|
||||
.height(200)
|
||||
// ImageKnifeComponent({ imageKnifeOption: this.imageKnifeOption2 })
|
||||
// .width(200)
|
||||
// .height(200)
|
||||
}.margin({ top: 10 });
|
||||
}.margin({ bottom: 30 });
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue