完成结果总览卡片结构合并实现

This commit is contained in:
wkc
2026-03-27 15:25:23 +08:00
parent e7ad46edaf
commit 3f98d59741
9 changed files with 130 additions and 86 deletions

View File

@@ -17,9 +17,6 @@ const mockSource = fs.readFileSync(
"utf8"
);
assert(
overviewSource.includes('v-if="summary.actions && summary.actions.length"'),
"风险仪表盘无操作按钮时不应渲染空的操作区"
);
assert(!mockSource.includes('label: "批量导出"'), "风险仪表盘不应保留批量导出按钮");
assert(!mockSource.includes('label: "切换视图"'), "风险仪表盘不应保留切换视图按钮");
assert(!overviewSource.includes("section-actions"), "统计区不应继续保留旧操作区壳层");
assert(!mockSource.includes('label: "批量导出"'), "风险总览不应保留批量导出按钮");
assert(!mockSource.includes('label: "切换视图"'), "风险总览不应保留切换视图按钮");