fix:解决automatic log 弹窗获取不到数据问题

This commit is contained in:
qiaoqinzheng 2023-10-28 19:33:02 +08:00
parent 56918f36c1
commit 70b654b7f1

View File

@ -37,9 +37,10 @@ export default {
async getInfo() {
try {
this.isLoading = true
const { sampleId } = this.sampleData
const { sampleId, sampleFileName } = this.sampleData
const res = await getAction(this.type == 1 ? '/gamma/viewAutomaticAnalysisLog' : '/spectrumAnalysis/viewAutomaticAnalysisLog', { // gammam,beta
sampleId
sampleId,
sampleFileName
})
if(typeof res == 'string') {
this.content = res