diff --git a/XAgentWeb/src/views/playground/components/FileUpload.vue b/XAgentWeb/src/views/playground/components/FileUpload.vue index 906ff89..3c6be45 100644 --- a/XAgentWeb/src/views/playground/components/FileUpload.vue +++ b/XAgentWeb/src/views/playground/components/FileUpload.vue @@ -83,7 +83,9 @@ watch(() => fileList.value, (newVal) => { message: `The file "${tipFileName}" type is not supported` }); } - fileList.value = allowList + if (allowList.length !== fileList.value.length) { + fileList.value = allowList + } }); const configStore = useConfigStore()