소스 검색

取消警告

duy 2 년 전
부모
커밋
88067e85eb
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  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)