* [bug#54280,done,0.2h] add nowrap to label class.

This commit is contained in:
liumengyi
2024-08-21 14:08:20 +08:00
committed by 田淑杰
parent de67f0b7c4
commit 5003a4935f
+4 -4
View File
@@ -153,14 +153,14 @@ window.onRenderCell = function(result, {row, col})
{
result.shift(); // 移除带链接的场景名称
result.push({html: data.title}); // 添加不带链接的场景名称
if(data.grade == 1 && module) result.unshift({html: '<span class="label gray-pale rounded-full">' + module + '</span>'}); // 顶级场景添加模块标签
result.unshift({html: '<span class="label gray-300-outline text-gray rounded-full">' + scene + '</span>'}); // 添加场景标签
if(data.grade == 1 && module) result.unshift({html: '<span class="label gray-pale rounded-full nowrap">' + module + '</span>'}); // 顶级场景添加模块标签
result.unshift({html: '<span class="label gray-300-outline text-gray rounded-full nowrap">' + scene + '</span>'}); // 添加场景标签
if(!this.options.customData.isOnlyScene && data.hasCase == false) result.push({html: '<span class="text-gray">(' + noCase + ')</span>'}); // 添加暂无用例标签
}
else // 用例
{
if(data.auto == 'auto') result.unshift({html: '<span class="label gray-pale rounded-full">' + automated + '</span>'}); // 添加自动化标签
if(module) result.unshift({html: '<span class="label gray-pale rounded-full">' + module + '</span>'}); // 添加模块标签
if(data.auto == 'auto') result.unshift({html: '<span class="label gray-pale rounded-full nowrap">' + automated + '</span>'}); // 添加自动化标签
if(module) result.unshift({html: '<span class="label gray-pale rounded-full nowrap">' + module + '</span>'}); // 添加模块标签
}
}
if(col.name == 'pri' && row.data.isScene)