diff --git a/securityManagement/src/components/tree/AdministrativeDivisionsTree.vue b/securityManagement/src/components/tree/AdministrativeDivisionsTree.vue index e428dc1..73d42b3 100644 --- a/securityManagement/src/components/tree/AdministrativeDivisionsTree.vue +++ b/securityManagement/src/components/tree/AdministrativeDivisionsTree.vue @@ -15,7 +15,7 @@ import type {CascaderProps} from 'ant-design-vue'; // withDefaultsde作用是设置组件默认值属性,有两个值,第二个值是设置第一个值所有属性的默认值的 withDefaults(defineProps<{ - changeOnSelect:boolean, + changeOnSelect?:boolean, }>(),{ changeOnSelect:false }) diff --git a/securityManagement/src/views/test.vue b/securityManagement/src/views/test.vue index 649e5b1..d32a170 100644 --- a/securityManagement/src/views/test.vue +++ b/securityManagement/src/views/test.vue @@ -1,11 +1,7 @@