mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +01:00
This commit is contained in:
parent
9f0552bc72
commit
814a4ec3ac
7 changed files with 52 additions and 33 deletions
|
|
@ -71,7 +71,7 @@ export const reloadSync = (
|
|||
}
|
||||
}
|
||||
setNoteBook(() => {
|
||||
window.siyuan.mobile.files.init(false);
|
||||
window.siyuan.mobile.docks.file.init(false);
|
||||
});
|
||||
/// #else
|
||||
const allModels = getAllModels();
|
||||
|
|
@ -215,7 +215,7 @@ export const setDefRefCount = (data: {
|
|||
|
||||
let liElement;
|
||||
/// #if MOBILE
|
||||
liElement = window.siyuan.mobile.files.element.querySelector(`li[data-node-id="${data.rootID}"]`);
|
||||
liElement = window.siyuan.mobile.docks.file.element.querySelector(`li[data-node-id="${data.rootID}"]`);
|
||||
/// #else
|
||||
liElement = (getDockByType("file").data.file as Files).element.querySelector(`li[data-node-id="${data.rootID}"]`);
|
||||
/// #endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue