commit
This commit is contained in:
@@ -436,7 +436,7 @@ module.exports = {
|
||||
let result = []
|
||||
if (response && response.code === 0 && file.status === "success") {
|
||||
fileList.forEach((f) => {
|
||||
if(f.response.data.includes('webvpn')) {
|
||||
if(f.response.data?.includes('webvpn')) {
|
||||
const index = f.response.data.indexOf('/platform')
|
||||
f.response.data = f.response.data.substring(index)
|
||||
}
|
||||
@@ -444,6 +444,7 @@ module.exports = {
|
||||
})
|
||||
} else {
|
||||
this.$message.error(response.msg)
|
||||
fileList = fileList.splice(file, 1)
|
||||
}
|
||||
if (result.length > 0) {
|
||||
if (this.upload_result_category === "interval") {
|
||||
@@ -475,7 +476,7 @@ module.exports = {
|
||||
}
|
||||
return
|
||||
}
|
||||
this.$emit("update:value", null)
|
||||
this.$emit("update:value", fileList)
|
||||
},
|
||||
|
||||
// 通过DOM获取上传的文件
|
||||
|
||||
Reference in New Issue
Block a user