feat: 修改topology 添加连线为点击添加一条直线

This commit is contained in:
zhangyu
2023-03-21 15:53:45 +08:00
parent c1abe4cf5d
commit 29ef898c65
3 changed files with 142 additions and 11 deletions

View File

@@ -208,9 +208,6 @@ export default {
if (pen.data && pen.data.params) {
return
}
if (name) {
pen.text = name
}
pen.data = {
params: {
animateColor: pen.animateColor || '#FA901CFF',