节点渐变色web示例更新

This commit is contained in:
lxr-cel 2024-01-04 23:37:27 +08:00
parent 130acff77c
commit c62089adb9

View File

@ -485,7 +485,10 @@ export default {
borderRadius: '', borderRadius: '',
lineColor: '', lineColor: '',
lineDasharray: '', lineDasharray: '',
lineWidth: '' lineWidth: '',
gradientStyle: false,
startColor: '',
endColor: ''
} }
} }
}, },
@ -560,7 +563,10 @@ export default {
'borderRadius', 'borderRadius',
'lineColor', 'lineColor',
'lineDasharray', 'lineDasharray',
'lineWidth' 'lineWidth',
'gradientStyle',
'startColor',
'endColor'
].forEach(item => { ].forEach(item => {
this.style[item] = this.activeNodes[0].getStyle(item, false) this.style[item] = this.activeNodes[0].getStyle(item, false)
}) })