mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user