fix: 处理topology的报错

This commit is contained in:
zhangyu
2021-09-23 11:30:16 +08:00
parent cd389976df
commit 902a958e31

View File

@@ -1322,7 +1322,7 @@ export default {
this.penId = data.id
}
})
this.$refs.CanvasProps.loading = true
this.$refs.CanvasProps && (this.$refs.CanvasProps.loading = true)
break
case 'line':
case 'addLine':
@@ -1343,7 +1343,7 @@ export default {
this.penId = data.id
}
})
this.$refs.CanvasProps.loading = true
this.$refs.CanvasProps && (this.$refs.CanvasProps.loading = true)
break
case 'multi':
this.props = {