diff --git a/frontend/src/components/canvas/components/Editor/MarkLine.vue b/frontend/src/components/canvas/components/Editor/MarkLine.vue
index 2ba5233d75..a07ccedc80 100644
--- a/frontend/src/components/canvas/components/Editor/MarkLine.vue
+++ b/frontend/src/components/canvas/components/Editor/MarkLine.vue
@@ -1,14 +1,14 @@
-
+
diff --git a/frontend/src/components/canvas/components/Editor/Shape.vue b/frontend/src/components/canvas/components/Editor/Shape.vue
index c2ebc6bc61..9db1a349d0 100644
--- a/frontend/src/components/canvas/components/Editor/Shape.vue
+++ b/frontend/src/components/canvas/components/Editor/Shape.vue
@@ -3,13 +3,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
{
diff --git a/frontend/src/components/canvas/components/Editor/index.vue b/frontend/src/components/canvas/components/Editor/index.vue
index 06efece521..277591c938 100644
--- a/frontend/src/components/canvas/components/Editor/index.vue
+++ b/frontend/src/components/canvas/components/Editor/index.vue
@@ -30,8 +30,8 @@
:id="'component' + item.id"
class="component"
:style="getComponentStyle(item.style)"
- :element="item"
- :item="item"
+ :service-name="item.widgetService.name"
+ :panel-id="panelInfo.id"
@filter-value-change="filterValueChange"
/>
@@ -97,12 +97,18 @@ export default {
isShowArea: false
}
},
- computed: mapState([
- 'componentData',
- 'curComponent',
- 'canvasStyleData',
- 'editor'
- ]),
+ computed: {
+ panelInfo() {
+ return this.$store.state.panel.panelInfo
+ },
+ ...mapState([
+ 'componentData',
+ 'curComponent',
+ 'canvasStyleData',
+ 'editor'
+ ])
+ },
+
mounted() {
// 获取编辑器元素
this.$store.commit('getEditor')
diff --git a/frontend/src/components/widget/DeWidget/DeDrawingWidget.vue b/frontend/src/components/widget/DeWidget/DeDrawingWidget.vue
index ab37b9d57d..03bf5480d8 100644
--- a/frontend/src/components/widget/DeWidget/DeDrawingWidget.vue
+++ b/frontend/src/components/widget/DeWidget/DeDrawingWidget.vue
@@ -1,19 +1,30 @@