调整上传数据页列表工具栏布局

This commit is contained in:
wkc
2026-03-25 14:26:58 +08:00
parent ad4e115787
commit e521169a7c
4 changed files with 91 additions and 94 deletions

View File

@@ -22,4 +22,16 @@ assert(
"上传数据文件列表表格不应再启用斑马纹"
);
const tableHeaderStyleMatch = source.match(
/::v-deep \.el-table th\s*\{([^}]*)\}/
);
assert(tableHeaderStyleMatch, "未找到文件上传列表表头样式");
assert(
/font-weight:\s*600;/.test(tableHeaderStyleMatch[1]) &&
!/background:/.test(tableHeaderStyleMatch[1]) &&
!/color:/.test(tableHeaderStyleMatch[1]),
"文件上传列表表头应移除自定义颜色,仅保留基础字重"
);
console.log("upload-data-file-list-table test passed");