🎨 闪卡面包屑不能显示答案

This commit is contained in:
Vanessa 2022-12-26 19:34:59 +08:00
parent 051a1e2845
commit 8365db0517

View file

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