ananzhusen 2 years ago
parent
commit
f751313df8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/components/View.vue

+ 1 - 0
src/views/components/View.vue

@@ -421,6 +421,7 @@ const onAddShape = (event: DragEvent|MouseEvent, name: string) => {
       width: 100,
       height: 1,
       name: "line",
+      lineName:'line',
       type: 1
     };
   }