NEZ-1305 fix: 直线变曲线报错的问题

This commit is contained in:
zhangyu
2021-11-19 16:44:51 +08:00
parent e6269131ac
commit 2e99b5ffb0

View File

@@ -1606,7 +1606,7 @@ export default {
},
onClickName (name) {
this.pen.name = name
// this.pen.calcControlPoints()
this.selection.pen.calcControlPoints()
this.drowdown = 0
if (this.selection.pen) {
this.selection.pen.name = name