调整上传数据页列表工具栏布局
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user