Explorar o código

行政区选择

drew %!s(int64=5) %!d(string=hai) anos
pai
achega
71490af933
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  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
             };