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