cnhis-design-vue 2.1.31 → 2.1.32
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.
- package/es/big-table/index.js +25 -25
- package/es/big-table/style.css +1 -1
- package/es/index/index.js +25 -25
- package/es/index/style.css +1 -1
- package/lib/cui.common.js +52 -52
- package/lib/cui.umd.js +52 -52
- package/lib/cui.umd.min.js +7 -7
- package/package.json +1 -1
- package/packages/big-table/src/BigTable.vue +2 -2
package/package.json
CHANGED
|
@@ -714,7 +714,7 @@ export default create({
|
|
|
714
714
|
},
|
|
715
715
|
// 日期显示格式化
|
|
716
716
|
getDate(row, item) {
|
|
717
|
-
let obj = row[item.columnName];
|
|
717
|
+
let obj = row[item.columnName] || '';
|
|
718
718
|
let style = {};
|
|
719
719
|
// fillColor 有值代表背景色
|
|
720
720
|
if (obj?.fillColor) {
|
|
@@ -725,7 +725,7 @@ export default create({
|
|
|
725
725
|
if (obj?.background) {
|
|
726
726
|
style.color = obj.background;
|
|
727
727
|
}
|
|
728
|
-
if (!vexutils.isEmpty(obj)) {
|
|
728
|
+
if (obj && !vexutils.isEmpty(obj)) {
|
|
729
729
|
if (vexutils.isObject(obj) && 'tooltip' in obj) {
|
|
730
730
|
return [
|
|
731
731
|
<a-tooltip title={obj.tooltip}>
|