Vanessa 2024-12-26 09:49:09 +08:00
parent 674b81e53a
commit 24250e4eb3

View file

@ -73,7 +73,9 @@ export class Asset extends Model {
/// #if !MOBILE
if (typeof pdfId === "string") {
this.getPdfId(() => {
onPageNumberChanged({value: this.pdfPage, pdfInstance: this.pdfObject, id: this.pdfId});
if (this.pdfPage) {
onPageNumberChanged({value: this.pdfPage, pdfInstance: this.pdfObject, id: this.pdfId});
}
});
return;
}