修改行政区划

This commit is contained in:
wangyilin 2024-11-04 11:44:36 +08:00
parent 6da61ca8ca
commit d343a8219f
2 changed files with 1 additions and 5 deletions

View File

@ -15,7 +15,7 @@ import type {CascaderProps} from 'ant-design-vue';
// withDefaultsde // withDefaultsde
withDefaults(defineProps<{ withDefaults(defineProps<{
changeOnSelect:boolean, changeOnSelect?:boolean,
}>(),{ }>(),{
changeOnSelect:false changeOnSelect:false
}) })

View File

@ -1,11 +1,7 @@
<template> <template>
<div style="margin: 100px auto;width: 500px"> <div style="margin: 100px auto;width: 500px">
<AdministrativeDivisionsTree v-model:value="value"></AdministrativeDivisionsTree>
</div> </div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref} from 'vue';
import AdministrativeDivisionsTree from "@/components/tree/AdministrativeDivisionsTree.vue";
const value = ref<string[]>( );
</script> </script>