修改行政区划
This commit is contained in:
parent
6da61ca8ca
commit
d343a8219f
|
@ -15,7 +15,7 @@ import type {CascaderProps} from 'ant-design-vue';
|
|||
|
||||
// withDefaultsde作用是设置组件默认值属性,有两个值,第二个值是设置第一个值所有属性的默认值的
|
||||
withDefaults(defineProps<{
|
||||
changeOnSelect:boolean,
|
||||
changeOnSelect?:boolean,
|
||||
}>(),{
|
||||
changeOnSelect:false
|
||||
})
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
<template>
|
||||
<div style="margin: 100px auto;width: 500px">
|
||||
<AdministrativeDivisionsTree v-model:value="value"></AdministrativeDivisionsTree>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { ref} from 'vue';
|
||||
import AdministrativeDivisionsTree from "@/components/tree/AdministrativeDivisionsTree.vue";
|
||||
const value = ref<string[]>( );
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in New Issue