NEZ-2901 fix:Record rules查看Metric时展开隐藏开关保存Chart,隐藏开关未被覆盖
This commit is contained in:
@@ -131,6 +131,11 @@ import { globalStore } from '@meta2d/core'
|
||||
export default {
|
||||
name: 'meta2dMain',
|
||||
mixins: [meta2dMainCalc, topoUtil],
|
||||
provide () {
|
||||
return {
|
||||
option: this.option
|
||||
}
|
||||
},
|
||||
props: {
|
||||
meta2dId: {}, // 唯一id 不可重复
|
||||
iconArray: {
|
||||
@@ -160,6 +165,20 @@ export default {
|
||||
default: true
|
||||
},
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
option: {
|
||||
lineName: 'curve',
|
||||
lineWidth: 1,
|
||||
fromArrow: '',
|
||||
toArrow: 'triangleSolid',
|
||||
scale: 100,
|
||||
grid: false,
|
||||
rule: false,
|
||||
map: false
|
||||
},
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
},
|
||||
components: {
|
||||
|
||||
Reference in New Issue
Block a user