fix: 增加beta的自动分析日志,修改spectrum页面销毁未清理本地缓存的谱列表信息的问题
This commit is contained in:
parent
13fc43d8c7
commit
0a483e98d3
|
@ -38,7 +38,7 @@ export default {
|
|||
try {
|
||||
this.isLoading = true
|
||||
const { sampleId } = this.sampleData
|
||||
const res = await getAction(this.type == 1 ? '/gamma/viewAutomaticAnalysisLog' : '/gamma/viewAutomaticAnalysisLog', { // 自动分析日志接口暂用都是gammam,beta暂时没有
|
||||
const res = await getAction(this.type == 1 ? '/gamma/viewAutomaticAnalysisLog' : '/spectrumAnalysis/viewAutomaticAnalysisLog', { // 自动分析日志接口暂用都是gammam,beta暂时没有
|
||||
sampleId
|
||||
})
|
||||
if(typeof res == 'string') {
|
||||
|
|
|
@ -401,6 +401,7 @@ export default {
|
|||
|
||||
destroyed() {
|
||||
this.$bus.$off('reanalyse', this.handleReanalyse)
|
||||
this.$store.commit('CLEAR_SAMPLE_DATA')
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
|
Loading…
Reference in New Issue
Block a user