This commit is contained in:
任珮宇 2024-03-15 14:28:35 +08:00
commit 70850880ef
2 changed files with 6 additions and 4 deletions

View File

@ -1562,14 +1562,16 @@ export default {
try {
this.$set(this.selectedTableItem, '_deleting', true)
const { inputFileName: fileName } = this.sampleData
const { success, message } = await postAction('/gamma/deleteNuclide', {
const { success, result, message } = await postAction('/gamma/deleteNuclide', {
curRow: this.curRow,
nuclideName: this.model.identifiedNuclide,
fileName,
list_identify: nuclides,
})
if (success) {
nuclides.splice(findIndex, 1)
const { identify, table } = result
this.selectedTableItem.nuclides = identify
this.list = table
} else {
this.$message.error(message)
}

View File

@ -1759,13 +1759,13 @@ export default {
<style lang="less">
.spectrum-analysis-operators-dropdown-overlay {
background-color: #03353f;
z-index: 999;
.ant-menu {
background: transparent;
padding: 0;
position: relative;
border-right: 0;
max-height: calc(100vh - 506px);
overflow: hidden auto;
&-submenu {
&-active {