mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-21 10:27:44 +08:00
节点渐变色web示例更新
This commit is contained in:
parent
130acff77c
commit
c62089adb9
@ -485,7 +485,10 @@ export default {
|
||||
borderRadius: '',
|
||||
lineColor: '',
|
||||
lineDasharray: '',
|
||||
lineWidth: ''
|
||||
lineWidth: '',
|
||||
gradientStyle: false,
|
||||
startColor: '',
|
||||
endColor: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -560,7 +563,10 @@ export default {
|
||||
'borderRadius',
|
||||
'lineColor',
|
||||
'lineDasharray',
|
||||
'lineWidth'
|
||||
'lineWidth',
|
||||
'gradientStyle',
|
||||
'startColor',
|
||||
'endColor'
|
||||
].forEach(item => {
|
||||
this.style[item] = this.activeNodes[0].getStyle(item, false)
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user