fix: 修复部分标签背景色不显示的情况

This commit is contained in:
kuaifan 2025-06-03 14:47:42 +08:00
parent 29ed0ad05a
commit 43624e9b7b

View File

@ -49,6 +49,9 @@ export default {
colorUtils.generateColorScheme(item.color, defaultColor) :
defaultColors;
backgroundColor = colors[index % colors.length];
if (backgroundColor === '#ffffff' || backgroundColor === '#000000') {
backgroundColor = item.color;
}
}
return {