diff --git a/src/components/flow/flowFileUpload.vue b/src/components/flow/flowFileUpload.vue index dfdacebf..035d312e 100644 --- a/src/components/flow/flowFileUpload.vue +++ b/src/components/flow/flowFileUpload.vue @@ -106,7 +106,7 @@ const fileList = ref([]); const rowInfo = ref({}); const uploalLocal = ref('online'); const uploadRef = ref(); -const AllFileList = ref(props.selectFileList); +const AllFileList = ref([]); const selectOnlineFileFun = () => { visible.value = true; @@ -185,6 +185,19 @@ watch( } ); +watch( + () => props.selectFileList, + (newVal) => { + if (newVal) { + AllFileList.value = newVal; + } + }, + { + immediate: true, + deep: true, + } +); + defineExpose({ // queryFileList, }); diff --git a/src/components/flow/flowNodeParamTable.vue b/src/components/flow/flowNodeParamTable.vue index baa41de8..7c36c751 100644 --- a/src/components/flow/flowNodeParamTable.vue +++ b/src/components/flow/flowNodeParamTable.vue @@ -1,6 +1,8 @@