mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-26 11:28:49 +01:00
This commit is contained in:
parent
674b81e53a
commit
24250e4eb3
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue