diff --git a/library/BuildProfile.ets b/library/BuildProfile.ets index 56a40f4..f787c60 100644 --- a/library/BuildProfile.ets +++ b/library/BuildProfile.ets @@ -1,5 +1,6 @@ export default class BuildProfile { - static readonly HAR_VERSION = '3.0.0-rc.0'; + static readonly HAR_VERSION = '3.0.0-rc.4'; static readonly BUILD_MODE_NAME = 'debug'; static readonly DEBUG = true; + static readonly TARGET_NAME = 'default'; } \ No newline at end of file diff --git a/library/src/main/ets/components/ImageKnifeComponent.ets b/library/src/main/ets/components/ImageKnifeComponent.ets index ec01324..302a08f 100644 --- a/library/src/main/ets/components/ImageKnifeComponent.ets +++ b/library/src/main/ets/components/ImageKnifeComponent.ets @@ -85,7 +85,10 @@ export struct ImageKnifeComponent { ImageKnife.getInstance().execute(this.getRequest(this.currentWidth, this.currentHeight)) } } - }) + }).sourceSize({ + width:250, + height:250 + }) } watchImageKnifeOption() {