Commit bff7ae83 authored by zhangwenshuai's avatar zhangwenshuai

修改可输可选样式

parent 7fa277db
......@@ -5,7 +5,10 @@ import s from './index.less';
const getColor = (item: any, options: any[]) => {
let color = '';
if (item.text === item.value) {
// if (item.text === item.value) {
// return 'transparent';
// }
if (!item.value) {
return 'transparent';
}
if (options && Array.isArray(options) && options.length > 0) {
......
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