-
- {{ componentText }}
-
-
-
-
-
-
-
-
-
-
+
+
+ {{ componentText }}
+
+
+
+
+
+
+
+
-
\ No newline at end of file
diff --git a/src/components/MainView.vue b/src/components/MainView.vue
index 3e585ce..7c4ecb3 100644
--- a/src/components/MainView.vue
+++ b/src/components/MainView.vue
@@ -78,7 +78,8 @@ useDraggable(el2, componentsList, {
},
clone(element: Record<'id' | 'name' | 'type' | 'children' | 'props' | 'text' | 'class' | 'style' | 'slots', any>) {
return {
- id: `${element.id}-${uuid()}`,
+ // id: `${element.id}-${uuid()}`,
+ id: uuid(),
name: element.name,
type: element.type,
props: element.props,
diff --git a/src/components/NestedFunction.vue b/src/components/NestedFunction.vue
index f35782a..2171925 100644
--- a/src/components/NestedFunction.vue
+++ b/src/components/NestedFunction.vue
@@ -11,7 +11,7 @@