NEZ-2901 fix:Record rules查看Metric时展开隐藏开关保存Chart,隐藏开关未被覆盖

This commit is contained in:
zhangyu
2023-06-21 14:51:01 +08:00
parent 8e8a7efaaa
commit c256f7f44d
4 changed files with 28 additions and 10 deletions

View File

@@ -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: {