修复结果总览标签展示

This commit is contained in:
wkc
2026-03-25 18:47:27 +08:00
parent ed427f7a42
commit 255a41c936
4 changed files with 59 additions and 1 deletions

View File

@@ -119,6 +119,11 @@ export default {
display: block;
}
.sidebar-field--column .sidebar-field__label {
display: block;
margin-bottom: 8px;
}
.sidebar-field__label {
flex: 0 0 84px;
font-size: 12px;
@@ -137,8 +142,9 @@ export default {
.tag-list {
display: flex;
width: 100%;
flex-wrap: wrap;
justify-content: flex-end;
justify-content: flex-start;
gap: 8px;
margin-top: 8px;
}

View File

@@ -37,6 +37,10 @@ const entry = fs.readFileSync(
"暂无异常标签",
"formatRiskTag",
"tag.ruleName",
"justify-content: flex-start",
"width: 100%",
".sidebar-field--column .sidebar-field__label",
"margin-bottom: 8px",
].forEach((token) => assert(sidebar.includes(token), token));
assert(!sidebar.includes("当前命中模型"), "命中模型摘要应移除当前命中模型字段");