mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
🎨 支持按文档大小排序 Fix https://github.com/siyuan-note/siyuan/issues/6029
This commit is contained in:
parent
76ef70ae68
commit
24250bb359
9 changed files with 45 additions and 3 deletions
|
|
@ -966,6 +966,18 @@ class="b3-list-item b3-list-item--hide-action" data-path="${item.path}">
|
|||
click: () => {
|
||||
clickEvent(8);
|
||||
}
|
||||
}, {type: "separator"}, {
|
||||
icon: window.siyuan.config.fileTree.sort === 11 ? "iconSelect" : undefined,
|
||||
label: window.siyuan.languages.docSizeASC,
|
||||
click: () => {
|
||||
clickEvent(11);
|
||||
}
|
||||
}, {
|
||||
icon: window.siyuan.config.fileTree.sort === 12 ? "iconSelect" : undefined,
|
||||
label: window.siyuan.languages.docSizeDESC,
|
||||
click: () => {
|
||||
clickEvent(12);
|
||||
}
|
||||
}, {type: "separator"}, {
|
||||
icon: window.siyuan.config.fileTree.sort === 6 ? "iconSelect" : undefined,
|
||||
label: window.siyuan.languages.customSort,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue