节点渐变色web示例更新
This commit is contained in:
parent
130acff77c
commit
c62089adb9
@ -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)
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user