duy 2 år sedan
förälder
incheckning
88067e85eb
1 ändrade filer med 4 tillägg och 4 borttagningar
  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)