fix(接口测试): 修复接口自动化删除csv文件时无法显示文件名的缺陷

This commit is contained in:
wxg0103 2022-02-15 18:43:07 +08:00 committed by 刘瑞斌
parent e537e9d033
commit ba2b27f500
1 changed files with 1 additions and 1 deletions

View File

@ -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') {