Explorar o código

月报表 label宽度自定义

tianxinyu hai 10 meses
pai
achega
4d23c5cc0a
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      src/views/component/env/monthlyStat.vue

+ 5 - 1
src/views/component/env/monthlyStat.vue

@@ -111,11 +111,15 @@ export default {
         labelTitle: {
         labelTitle: {
             type: String,
             type: String,
             default: '月报表参数选择'
             default: '月报表参数选择'
+        },
+        formLabelWidth: {
+            type: String,
+            default: '100px'
         }
         }
     },
     },
     data () {
     data () {
         return {
         return {
-            formLabelWidth: '100px',
+            // formLabelWidth: '100px',
             paramForm: {},
             paramForm: {},
             dialogVisible: this.visible,
             dialogVisible: this.visible,
             maxHeight: '400px',
             maxHeight: '400px',