mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-14 03:04:21 +01:00
This commit is contained in:
parent
347a0473c3
commit
63f2d72673
5 changed files with 17 additions and 8 deletions
|
|
@ -339,6 +339,7 @@ const getUnInitTab = (options: IOpenFileOptions) => {
|
|||
} else {
|
||||
initObj.action = options.action;
|
||||
}
|
||||
initObj.scrollPosition = options.scrollPosition;
|
||||
item.headElement.setAttribute("data-initdata", JSON.stringify(initObj));
|
||||
item.parent.switchTab(item.headElement);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue