diff --git a/frontend/src/components/canvas/components/TextAttr.vue b/frontend/src/components/canvas/components/TextAttr.vue
index 1bca4d1795..0e8ce60e93 100644
--- a/frontend/src/components/canvas/components/TextAttr.vue
+++ b/frontend/src/components/canvas/components/TextAttr.vue
@@ -78,14 +78,6 @@
-
-
-
-
-
-
-
-
diff --git a/frontend/src/views/panel/edit/index.vue b/frontend/src/views/panel/edit/index.vue
index c25f8668e7..fe14354dad 100644
--- a/frontend/src/views/panel/edit/index.vue
+++ b/frontend/src/views/panel/edit/index.vue
@@ -661,8 +661,7 @@ export default {
},
sureFilter() {
this.currentFilterCom.options.value = []
- const component = deepCopy(this.currentFilterCom)
- this.$store.commit('setComponentWithId', component)
+ this.$store.commit('setComponentWithId', this.currentFilterCom)
this.$store.commit('recordSnapshot', 'sureFilter')
this.closeFilter()
},