mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-15 05:12:49 +00:00
fix: 修复部分标签背景色不显示的情况
This commit is contained in:
parent
29ed0ad05a
commit
43624e9b7b
@ -49,6 +49,9 @@ export default {
|
|||||||
colorUtils.generateColorScheme(item.color, defaultColor) :
|
colorUtils.generateColorScheme(item.color, defaultColor) :
|
||||||
defaultColors;
|
defaultColors;
|
||||||
backgroundColor = colors[index % colors.length];
|
backgroundColor = colors[index % colors.length];
|
||||||
|
if (backgroundColor === '#ffffff' || backgroundColor === '#000000') {
|
||||||
|
backgroundColor = item.color;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user