Ver Fonte

取消警告

duy há 2 anos atrás
pai
commit
88067e85eb
1 ficheiros alterados com 4 adições e 4 exclusões
  1. 4 4
      src/views/data-fill/collapse-form/index.vue

+ 4 - 4
src/views/data-fill/collapse-form/index.vue

@@ -443,13 +443,13 @@ const props = defineProps({
         type: [String, Number],
         default: '',
     },
-    TreeAutoExpandKeys: {
+    treeAutoExpandKeys: {
         type: [Array],
-        default: '',
+        default: () => ([]),
     },
     treenodeDataInfo: {
         type: [Object],
-        default: {},
+        default: () => ({}),
     },
 
 })
@@ -471,7 +471,7 @@ const wbs_type = ref(props.wbsType)
 const isStatus = ref(parseInt(props.status))
 const listDatas = ref([])
 const draw_type = ref(props.drawType)
-const tree_AutoExpandKeys = ref(props.TreeAutoExpandKeys)
+const tree_AutoExpandKeys = ref(props.treeAutoExpandKeys)
 const treenodeDataInfo = ref(props.treenodeDataInfo)