fix: 修复accept后新的baseCtrl未传出来的问题

This commit is contained in:
Xu Zhimeng 2023-11-09 10:33:17 +08:00
parent e13f8cbc22
commit b5c51883da
2 changed files with 4 additions and 5 deletions

View File

@ -799,7 +799,7 @@ export default {
shapeChannelData,
shapeEnergyData,
peak: table,
barChart: this.barChart
barChart: this.barChart,
})
this.channelPeakChart = channelPeakChart
@ -917,7 +917,6 @@ export default {
this.selectedKeys = []
this.selectedTableItem = null
} else {
this.$message.error(message)
}
@ -1441,7 +1440,7 @@ export default {
this.resetChartOpts()
})
this.$bus.$emit('accept', result)
this.$bus.$emit('accept', { ...result, BaseCtrls: cloneDeep(this.baseCtrls_Copy) })
} else {
this.$message.error(message)
}

View File

@ -1382,7 +1382,7 @@ export default {
// Accept
handleAccept(data) {
const { allData, peak, shadowChannelChart, shadowEnergyChart, shapeChannelData, shapeEnergyData, barChart } = data
const { allData, peak, shadowChannelChart, shadowEnergyChart, shapeChannelData, shapeEnergyData, barChart, BaseCtrls } = data
const result = {
DetailedInformation: this.detailedInfomation,
@ -1393,7 +1393,7 @@ export default {
shapeChannelData,
shapeEnergyData,
peak,
BaseCtrls: this.baseCtrls,
BaseCtrls,
bAnalyed: this.bAnalyed,
barChart
}