This commit is contained in:
Vanessa 2022-12-27 09:45:03 +08:00
parent f53c2fdebd
commit aab48e9c8a
2 changed files with 2 additions and 2 deletions

View file

@ -389,7 +389,7 @@ export class Breadcrumb {
return;
}
this.id = id;
const excludeTypes: string[] = []
const excludeTypes: string[] = [];
if (this.element.parentElement?.parentElement && this.element.parentElement.parentElement.classList.contains("b3-dialog__cardblock")) {
// 闪卡面包屑不能显示答案
excludeTypes.push("NodeTextMark-mark");

View file

@ -704,7 +704,7 @@ const addConfigMoreMenu = async (config: ISearchOption, edit: Protyle, element:
}
}]
}).element);
const localData = JSON.parse(localStorage.getItem(Constants.LOCAL_SEARCHEKEYS) || "{}")
const localData = JSON.parse(localStorage.getItem(Constants.LOCAL_SEARCHEKEYS) || "{}");
if (typeof localData.layout === "undefined") {
localData.layout = 0;
}