Ver Fonte

行政区选择

drew há 5 anos atrás
pai
commit
71490af933
1 ficheiros alterados com 6 adições e 1 exclusões
  1. 6 1
      src/main/vue/src/components/DistrictChoose.vue

+ 6 - 1
src/main/vue/src/components/DistrictChoose.vue

@@ -8,6 +8,10 @@
         props: {
             value: {
                 type: Array
+            },
+            checkStrictly: {
+                type: Boolean,
+                default: false
             }
         },
         data() {
@@ -28,7 +32,8 @@
                     },
                     value: 'id',
                     label: 'fullName',
-                    leaf: 'leaf'
+                    leaf: 'leaf',
+                    checkStrictly: this.checkStrictly
                 },
                 emiting: false
             };