fix: 增加beta的自动分析日志,修改spectrum页面销毁未清理本地缓存的谱列表信息的问题

This commit is contained in:
Xu Zhimeng 2023-10-27 13:38:08 +08:00
parent 13fc43d8c7
commit 0a483e98d3
2 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,7 @@ export default {
try { try {
this.isLoading = true this.isLoading = true
const { sampleId } = this.sampleData 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 sampleId
}) })
if(typeof res == 'string') { if(typeof res == 'string') {

View File

@ -401,6 +401,7 @@ export default {
destroyed() { destroyed() {
this.$bus.$off('reanalyse', this.handleReanalyse) this.$bus.$off('reanalyse', this.handleReanalyse)
this.$store.commit('CLEAR_SAMPLE_DATA')
}, },
methods: { methods: {