Parcourir la source

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

yangfan il y a 3 mois
Parent
commit
a5749f0a71
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/components/ColumnDesign/index.vue

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

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