fix:解决gamma交互工具删除核素,重新打开还能显示核素的问题
This commit is contained in:
		
							parent
							
								
									0b23a18748
								
							
						
					
					
						commit
						851603bb9f
					
				| 
						 | 
				
			
			@ -228,7 +228,7 @@ import { updateBaseLine } from '@/utils/WasmHelper'
 | 
			
		|||
import RectList from './components/RectList.vue'
 | 
			
		||||
import { isNullOrUndefined } from '@/utils/util'
 | 
			
		||||
import { findNearPeak, getLineData, transformPointListData } from '@/utils/sampleHelper'
 | 
			
		||||
import { getSampleData } from '@/utils/SampleStore'
 | 
			
		||||
import { getSampleData, updateSampleData } from '@/utils/SampleStore'
 | 
			
		||||
 | 
			
		||||
// 初始配置
 | 
			
		||||
const initialOption = {
 | 
			
		||||
| 
						 | 
				
			
			@ -1574,6 +1574,13 @@ export default {
 | 
			
		|||
            const { identify, table } = result
 | 
			
		||||
            this.selectedTableItem.nuclides = identify
 | 
			
		||||
            this.list = table
 | 
			
		||||
            // 更新自身缓存 
 | 
			
		||||
            /** fix:解决删除核素再次打开弹窗还能显示被删除的核素问题 20241128:xiao */
 | 
			
		||||
            updateSampleData({
 | 
			
		||||
              inputFileName: fileName,
 | 
			
		||||
              key: 'peak',
 | 
			
		||||
              data: table,
 | 
			
		||||
            })
 | 
			
		||||
          } else {
 | 
			
		||||
            this.$message.error(message)
 | 
			
		||||
          }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user