This commit is contained in:
Vanessa 2022-12-02 22:09:38 +08:00
parent dc5eaa777e
commit 60307c3b65

View file

@ -90,7 +90,7 @@ export const genSearch = (config: ISearchOption, element: Element, closeCB?: ()
let includeChild = true;
let enableIncludeChild = false;
config.idPath.forEach(item => {
if (!item.endsWith(".sy") && item.split("/").length > 1) {
if (item.endsWith(".sy")) {
includeChild = false;
}
if (item.split("/").length > 1) {