Browse Source

优化列表字段子表展开后,报错问题

yangfan 3 months ago
parent
commit
a5749f0a71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/ColumnDesign/index.vue

+ 1 - 1
src/components/ColumnDesign/index.vue

@@ -1164,7 +1164,7 @@ export default {
                 sortable: true,
                 sortable: true,
                 showSummary: false,
                 showSummary: false,
                 width: '',
                 width: '',
-                colorScale: find ? find.colorScale : {},
+                colorScale: find ? find.colorScale || {} : {},
                 visible: find ? find.visible || false : true,
                 visible: find ? find.visible || false : true,
                 widthAuto: find ? find.widthAuto : false,
                 widthAuto: find ? find.widthAuto : false,
                 config: o.__config__
                 config: o.__config__