fix: 处理导入时 因为imageId 导致图片不显示的问题
This commit is contained in:
@@ -465,6 +465,10 @@ export default {
|
||||
return
|
||||
}
|
||||
try {
|
||||
fileString.topo.pens.forEach(item => {
|
||||
item.imageId = ''
|
||||
})
|
||||
console.log(fileString)
|
||||
this.$post(this.importUrl, fileString).then(response => {
|
||||
if (response.code == 200 && response.msg == 'success') {
|
||||
this.$message.success(this.$t('overall.result.success'))
|
||||
@@ -477,7 +481,7 @@ export default {
|
||||
reader = null
|
||||
})
|
||||
} catch (e) {
|
||||
this.$message.error(this.$t('IMPORT_FORMAT_ERROR',{ 0: '' }))
|
||||
this.$message.error(this.$t('IMPORT_FORMAT_ERROR', { 0: '' }))
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user