fix:解决冲突
This commit is contained in:
@@ -266,7 +266,11 @@ export default {
|
||||
min: undefined,
|
||||
max: undefined
|
||||
},
|
||||
dataLink: []
|
||||
dataLink: [],
|
||||
option: {
|
||||
lineWidth: 1,
|
||||
pointSize: 6
|
||||
}
|
||||
},
|
||||
elements: [{ expression: '', legend: '', type: 'expert', id: '', name: 'A', state: 1, orderNum: 0 }],
|
||||
panel: '',
|
||||
@@ -607,14 +611,22 @@ export default {
|
||||
if (this.chart.type === 'group' && !this.chart.param.collapse == undefined) {
|
||||
this.chart.param.collapse = false
|
||||
}
|
||||
if ((this.chart.type === 'line' || this.chart.type === 'area' || this.chart.type === 'point') && !this.chart.param.rightYAxis) {
|
||||
this.chart.param.rightYAxis = {
|
||||
elementNames: [],
|
||||
style: 'line',
|
||||
unit: 2,
|
||||
label: '',
|
||||
min: undefined,
|
||||
max: undefined
|
||||
if ((this.chart.type === 'line' || this.chart.type === 'area' || this.chart.type === 'point')) {
|
||||
if (!this.chart.param.rightYAxis) {
|
||||
this.chart.param.rightYAxis = {
|
||||
elementNames: [],
|
||||
style: 'line',
|
||||
unit: 2,
|
||||
label: '',
|
||||
min: undefined,
|
||||
max: undefined
|
||||
}
|
||||
}
|
||||
if (!this.chart.param.option) {
|
||||
this.chart.param.option = {
|
||||
lineWidth: 1,
|
||||
pointSize: 6
|
||||
}
|
||||
}
|
||||
}
|
||||
if (this.chart.type === 'stat') {
|
||||
@@ -654,14 +666,22 @@ export default {
|
||||
if (this.chart.type === 'group' && !this.chart.param.collapse == undefined) {
|
||||
this.chart.param.collapse = false
|
||||
}
|
||||
if ((this.chart.type === 'line' || this.chart.type === 'area' || this.chart.type === 'point') && !this.chart.param.rightYAxis) {
|
||||
this.chart.param.rightYAxis = {
|
||||
elementNames: [],
|
||||
style: 'line',
|
||||
unit: 2,
|
||||
label: '',
|
||||
min: undefined,
|
||||
max: undefined
|
||||
if ((this.chart.type === 'line' || this.chart.type === 'area' || this.chart.type === 'point')) {
|
||||
if (!this.chart.param.rightYAxis) {
|
||||
this.chart.param.rightYAxis = {
|
||||
elementNames: [],
|
||||
style: 'line',
|
||||
unit: 2,
|
||||
label: '',
|
||||
min: undefined,
|
||||
max: undefined
|
||||
}
|
||||
}
|
||||
if (!this.chart.param.option) {
|
||||
this.chart.param.option = {
|
||||
lineWidth: 1,
|
||||
pointSize: 6
|
||||
}
|
||||
}
|
||||
}
|
||||
if (this.chart.type === 'stat') {
|
||||
|
||||
Reference in New Issue
Block a user