beta 新谱页面中切换谱数据之后 标题没有改名称
This commit is contained in:
parent
3291baf499
commit
fa137ad0ab
|
@ -27,7 +27,7 @@
|
|||
<div class="beta-gamma-analysis-main-charts">
|
||||
<div class="beta-gamma-analysis-main-charts-left">
|
||||
<beta-gamma-chart-container>
|
||||
<template slot="title"> Beta-Gamma Spectrum: Sample </template>
|
||||
<template slot="title"> Beta-Gamma Spectrum: {{ currSpectrum }} </template>
|
||||
<beta-gamma-spectrum
|
||||
ref="betaChartRef"
|
||||
:betaEnergyData="betaEnergyData"
|
||||
|
@ -89,7 +89,7 @@ const SampleType = [
|
|||
},
|
||||
{
|
||||
label: 'DetBg Data',
|
||||
value: 'det',
|
||||
value: 'detBg',
|
||||
},
|
||||
]
|
||||
export default {
|
||||
|
@ -112,6 +112,7 @@ export default {
|
|||
data() {
|
||||
this.SampleType = SampleType
|
||||
return {
|
||||
currSpectrum: '',
|
||||
isLoading: false,
|
||||
spectrumData: {}, // Detailed Infomation 信息
|
||||
spectraType: 'sample',
|
||||
|
@ -207,6 +208,8 @@ export default {
|
|||
}
|
||||
},
|
||||
changeChartByType(val) {
|
||||
if (val == 'sample') this.currSpectrum = 'Sample'
|
||||
if (val == 'detBg') this.currSpectrum = 'Det'
|
||||
this.roiParamList = []
|
||||
this.boundaryList = []
|
||||
this.ROILists = []
|
||||
|
|
Loading…
Reference in New Issue
Block a user