- ver 1.1.15
This commit is contained in:
@@ -7972,7 +7972,7 @@ export const tools = {
|
||||
}
|
||||
},
|
||||
getColorByCircuit(circuit: any) {
|
||||
if (circuit.color) {
|
||||
if (circuit && circuit.color) {
|
||||
return circuit.color
|
||||
} else {
|
||||
return ''
|
||||
|
||||
Reference in New Issue
Block a user