drew před 5 roky
rodič
revize
71490af933
1 změnil soubory, kde provedl 6 přidání a 1 odebrání
  1. 6 1
      src/main/vue/src/components/DistrictChoose.vue

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

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