mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 15:28:49 +01:00
🎨 闪卡面包屑不能显示答案
This commit is contained in:
parent
855b92f4ca
commit
294d88b8c1
1 changed files with 6 additions and 1 deletions
|
|
@ -389,7 +389,12 @@ export class Breadcrumb {
|
|||
return;
|
||||
}
|
||||
this.id = id;
|
||||
fetchPost("/api/block/getBlockBreadcrumb", {id}, (response) => {
|
||||
const excludeTypes: string[] = []
|
||||
if (this.element.parentElement.classList.contains("b3-dialog__cardblock")) {
|
||||
// 闪卡面包屑不能显示答案
|
||||
excludeTypes.push("NodeTextMark-mark");
|
||||
}
|
||||
fetchPost("/api/block/getBlockBreadcrumb", {id, excludeTypes}, (response) => {
|
||||
let html = "";
|
||||
response.data.forEach((item: IBreadcrumb, index: number) => {
|
||||
let isCurrent = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue