fix: 从服务端加载谱发生错误时,关闭loading;修复reprocessing未成功时也事先清除了series的问题
This commit is contained in:
parent
758f5a9499
commit
b4782e98df
|
@ -306,9 +306,11 @@ export default {
|
|||
this.dataProsess(result, 'db')
|
||||
} else {
|
||||
this.$message.error(message)
|
||||
this.isLoading = false
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
this.isLoading = false
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -334,9 +336,11 @@ export default {
|
|||
this.dataProsess(result, 'file')
|
||||
} else {
|
||||
this.$message.error(message)
|
||||
this.isLoading = false
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
this.isLoading = false
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -1216,11 +1220,10 @@ export default {
|
|||
|
||||
try {
|
||||
this.isLoading = true
|
||||
this.handleResetState()
|
||||
|
||||
const { inputFileName: fileName } = this.sample
|
||||
const { success, result, message } = await postAction(`/gamma/Reprocessing?fileName=${fileName}`)
|
||||
if (success) {
|
||||
this.handleResetState()
|
||||
result.DetailedInformation = this.detailedInfomation
|
||||
this.dataProsess(result)
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user