demo报错修改
This commit is contained in:
parent
0d4ae93f6e
commit
897c310668
|
@ -12,8 +12,12 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
import { ImageKnifeComponent, ImageKnifeOption } from '@ohos/libraryimageknife'
|
import { FitCenter, ImageKnifeComponent,
|
||||||
|
ImageKnifeData,
|
||||||
|
ImageKnifeOption, RequestOption } from '@ohos/libraryimageknife'
|
||||||
import { BusinessError } from '@ohos.base'
|
import { BusinessError } from '@ohos.base'
|
||||||
|
import { DownsampleNone } from '@ohos/imageknife/src/main/ets/components/imageknife/Downsampling/DownsampleStartegy';
|
||||||
|
|
||||||
let mRotate: number = 0;
|
let mRotate: number = 0;
|
||||||
let mUrl = $r('app.media.pngSample');
|
let mUrl = $r('app.media.pngSample');
|
||||||
@Entry
|
@Entry
|
||||||
|
|
Loading…
Reference in New Issue