소스 검색

标签空值

linweizeng 2 년 전
부모
커밋
f527c5c17c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/business/platform/form/formrender/dynamic-form/dynamic-form-item.vue

+ 1 - 1
src/business/platform/form/formrender/dynamic-form/dynamic-form-item.vue

@@ -118,7 +118,7 @@ export default {
             return this.fieldName
         },
         label () { // 显示的文本
-            if (this.fieldType === 'table' || this.field.field_options.hide_label) return null
+            if (this.fieldType === 'table' || this.field.field_options.hide_label) return ''
             return this.$utils.isNotEmpty(this.field.field_options.units) ? this.field.label + '(' + this.field.field_options.units + ')' : this.field.label
         },
         labelSuffix () {