fix: 自建台站 resolution 中存在的问题
This commit is contained in:
parent
39badac6d9
commit
4de6d60399
|
@ -242,7 +242,7 @@ export default {
|
|||
const { success, result, message } = await getAction('/selfStation/resolutionCalibration', {
|
||||
fileName,
|
||||
currentText,
|
||||
width: 80,
|
||||
width: 992,
|
||||
})
|
||||
this.isLoading = false
|
||||
if (success) {
|
||||
|
@ -270,8 +270,7 @@ export default {
|
|||
const { AllData, equation, param, table, uncert } = result
|
||||
// 有数据
|
||||
if (AllData) {
|
||||
// const [linePoint, scatterPoint] = AllData
|
||||
const [scatterPoint] = AllData
|
||||
const [linePoint, scatterPoint] = AllData
|
||||
this.equation = equation
|
||||
this.param = param
|
||||
this.uncert = uncert
|
||||
|
@ -280,13 +279,13 @@ export default {
|
|||
this.generateTableId()
|
||||
|
||||
const series = []
|
||||
// series.push(
|
||||
// buildLineSeries(
|
||||
// 'LineSeries',
|
||||
// linePoint.pointlist.map(({ x, y }) => [x, y]),
|
||||
// linePoint.color
|
||||
// )
|
||||
// )
|
||||
series.push(
|
||||
buildLineSeries(
|
||||
'LineSeries',
|
||||
linePoint.pointlist.map(({ x, y }) => [x, y]),
|
||||
linePoint.color
|
||||
)
|
||||
)
|
||||
series.push({
|
||||
type: 'scatter',
|
||||
data: scatterPoint.pointlist.map(({ x, y }) => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user