!84 编辑jscrash

Merge pull request !84 from houfei/master
This commit is contained in:
openharmony_ci 2022-09-02 08:33:20 +00:00 committed by Gitee
commit c104165920
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -146,7 +146,7 @@ export class PhotoEditCrop extends PhotoEditBase {
let limit = this.calcNewLimit();
if (this.isCropShowInitialized) {
this.cropShow.syncLimitRect(limit);
this.determineMaxScaleFactor(this.input);
this.input && this.determineMaxScaleFactor(this.input);
} else {
this.cropShow.init(limit, this.imageRatio);
this.isCropShowInitialized = true;