fix
This commit is contained in:
@@ -361,8 +361,8 @@ export default defineComponent({
|
||||
let color = ''
|
||||
let gradient = null
|
||||
if((detailData.currentDetailType == 'color' || detailData.isEditPattern.value == 'canvasEditor') && isCurrent){
|
||||
color = `${newData?.color.rgba.r} ${newData?.color.rgba.g} ${newData?.color.rgba.b}`
|
||||
if(newData?.color.gradient){
|
||||
color = newData?.color?.rgba?.r?`${newData?.color.rgba.r} ${newData?.color.rgba.g} ${newData?.color.rgba.b}`:''
|
||||
if(newData?.color?.gradient){
|
||||
gradient = newData?.color.gradient
|
||||
}
|
||||
}else if(isCurrent){
|
||||
|
||||
Reference in New Issue
Block a user