fix:解决automatic log 弹窗获取不到数据问题
This commit is contained in:
parent
56918f36c1
commit
70b654b7f1
|
@ -37,9 +37,10 @@ export default {
|
||||||
async getInfo() {
|
async getInfo() {
|
||||||
try {
|
try {
|
||||||
this.isLoading = true
|
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暂时没有
|
const res = await getAction(this.type == 1 ? '/gamma/viewAutomaticAnalysisLog' : '/spectrumAnalysis/viewAutomaticAnalysisLog', { // 自动分析日志接口暂用都是gammam,beta暂时没有
|
||||||
sampleId
|
sampleId,
|
||||||
|
sampleFileName
|
||||||
})
|
})
|
||||||
if(typeof res == 'string') {
|
if(typeof res == 'string') {
|
||||||
this.content = res
|
this.content = res
|
||||||
|
|
Loading…
Reference in New Issue
Block a user