mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
🚨
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user