diff --git a/frontend/src/business/components/api/automation/scenario/variable/CsvFileUpload.vue b/frontend/src/business/components/api/automation/scenario/variable/CsvFileUpload.vue index a4d6522b06..bf08e9dd84 100644 --- a/frontend/src/business/components/api/automation/scenario/variable/CsvFileUpload.vue +++ b/frontend/src/business/components/api/automation/scenario/variable/CsvFileUpload.vue @@ -72,7 +72,7 @@ export default { } }, handleRemove(file) { - this.$alert('是否确认删除CSV文件:【 ' + file.file.name + " 】?", '', { + this.$alert('是否确认删除CSV文件:【 ' + file.file ? file.file.name : file.name + " 】?", '', { confirmButtonText: this.$t('commons.confirm'), callback: (action) => { if (action === 'confirm') {