mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-14 21:02:49 +00:00
fix: 修复部分标签背景色不显示的情况
This commit is contained in:
parent
29ed0ad05a
commit
43624e9b7b
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user