Vanessa 2025-09-12 17:13:30 +08:00
parent 043511c2b8
commit 72c84f5f3d

View file

@ -496,7 +496,7 @@ export const genSearch = (app: App, config: Config.IUILayoutTabSearchConfig, ele
} else if (target.id === "searchInclude") {
event.stopPropagation();
event.preventDefault();
if (["", "disabled"].includes(target.getAttribute("disabled"))) {
if (target.hasAttribute("disabled")) {
return;
}
const svgElement = target.firstElementChild;