Vanessa 2025-04-13 11:07:55 +08:00
parent 4e0dd6120c
commit bc85ec131c

View File

@ -651,7 +651,7 @@ export const initCriteriaMenu = (element: HTMLElement, data: Config.IUILayoutTab
export const getKeyByLiElement = (element: HTMLElement) => { export const getKeyByLiElement = (element: HTMLElement) => {
const keys: string[] = []; const keys: string[] = [];
element.querySelectorAll("mark").forEach(item => { element.querySelectorAll(".b3-list-item__text mark").forEach(item => {
keys.push(item.textContent); keys.push(item.textContent);
}); });
return [...new Set(keys)].join(" "); return [...new Set(keys)].join(" ");