@nokecy/qc-ui 1.1.44 → 1.1.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -497,7 +497,10 @@ function AgGridPlus(props) {
|
|
|
497
497
|
return item.value == params.value;
|
|
498
498
|
});
|
|
499
499
|
if (match) {
|
|
500
|
-
|
|
500
|
+
// 没配颜色的枚举项曾经默认成 '#ffffff'——白底白字,那一列直接看不见。
|
|
501
|
+
// 消费端为此在 global.less 里加了一整套 [style*="color: white"] → 紫色的覆盖来擦屁股,
|
|
502
|
+
// 顺带把别的颜色也一起改了。这里改成 inherit,跟着单元格的正文色走。@author nokecy
|
|
503
|
+
var color = match.color || 'inherit';
|
|
501
504
|
return /*#__PURE__*/_react.default.createElement("span", {
|
|
502
505
|
style: {
|
|
503
506
|
color: color,
|
|
@@ -157,7 +157,10 @@ function processEnumColumn(col, dataType) {
|
|
|
157
157
|
return item.value == params.value;
|
|
158
158
|
});
|
|
159
159
|
if (match) {
|
|
160
|
-
|
|
160
|
+
// 没配颜色的枚举项曾经默认成 '#ffffff'——白底白字,那一列直接看不见。
|
|
161
|
+
// 消费端为此在 global.less 里加了一整套 [style*="color: white"] → 紫色 的覆盖来擦屁股,
|
|
162
|
+
// 顺带把别的颜色也一起改了。这里改成 inherit,跟着单元格的正文色走。@author nokecy
|
|
163
|
+
var color = match.color || 'inherit';
|
|
161
164
|
return /*#__PURE__*/_react.default.createElement("span", {
|
|
162
165
|
style: {
|
|
163
166
|
color: color,
|
|
@@ -489,7 +489,10 @@ function AgGridPlus(props) {
|
|
|
489
489
|
return item.value == params.value;
|
|
490
490
|
});
|
|
491
491
|
if (match) {
|
|
492
|
-
|
|
492
|
+
// 没配颜色的枚举项曾经默认成 '#ffffff'——白底白字,那一列直接看不见。
|
|
493
|
+
// 消费端为此在 global.less 里加了一整套 [style*="color: white"] → 紫色的覆盖来擦屁股,
|
|
494
|
+
// 顺带把别的颜色也一起改了。这里改成 inherit,跟着单元格的正文色走。@author nokecy
|
|
495
|
+
var color = match.color || 'inherit';
|
|
493
496
|
return /*#__PURE__*/React.createElement("span", {
|
|
494
497
|
style: {
|
|
495
498
|
color: color,
|
|
@@ -142,7 +142,10 @@ export function processEnumColumn(col, dataType) {
|
|
|
142
142
|
return item.value == params.value;
|
|
143
143
|
});
|
|
144
144
|
if (match) {
|
|
145
|
-
|
|
145
|
+
// 没配颜色的枚举项曾经默认成 '#ffffff'——白底白字,那一列直接看不见。
|
|
146
|
+
// 消费端为此在 global.less 里加了一整套 [style*="color: white"] → 紫色 的覆盖来擦屁股,
|
|
147
|
+
// 顺带把别的颜色也一起改了。这里改成 inherit,跟着单元格的正文色走。@author nokecy
|
|
148
|
+
var color = match.color || 'inherit';
|
|
146
149
|
return /*#__PURE__*/React.createElement("span", {
|
|
147
150
|
style: {
|
|
148
151
|
color: color,
|