Commit f709e699 authored by zhangwenshuai's avatar zhangwenshuai

修改tag color

parent a29f385b
......@@ -15,6 +15,9 @@ const getColor = (item: any, options: any[]) => {
}) || {};
color = obj.color || 'e9eef9';
}
if (color[0] === '#') {
return color;
}
return `#${color}`;
};
export const Tags = (props: any) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment