mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-09 02:08:50 +01:00
🚨
This commit is contained in:
parent
744dc2b7f3
commit
907dd77655
1 changed files with 0 additions and 8 deletions
|
|
@ -86,14 +86,6 @@ export const openGlobalSearch = (app: App, text: string, replace: boolean, searc
|
|||
|
||||
// closeCB 不存在为页签搜索
|
||||
export const genSearch = (app: App, config: Config.IUILayoutTabSearchConfig, element: HTMLElement, closeCB?: () => void) => {
|
||||
let methodText = window.siyuan.languages.keyword;
|
||||
if (config.method === 1) {
|
||||
methodText = window.siyuan.languages.querySyntax;
|
||||
} else if (config.method === 2) {
|
||||
methodText = "SQL";
|
||||
} else if (config.method === 3) {
|
||||
methodText = window.siyuan.languages.regex;
|
||||
}
|
||||
let includeChild = true;
|
||||
let enableIncludeChild = false;
|
||||
config.idPath.forEach(item => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue