diff --git a/frontend/src/components/canvas/components/Editor/SettingMenu.vue b/frontend/src/components/canvas/components/Editor/SettingMenu.vue
index f06f8c256f..b15258661d 100644
--- a/frontend/src/components/canvas/components/Editor/SettingMenu.vue
+++ b/frontend/src/components/canvas/components/Editor/SettingMenu.vue
@@ -12,7 +12,7 @@
{{ $t('panel.upComponent') }}
{{ $t('panel.downComponent') }}
{{ $t('panel.linkage_setting') }}
- 新增Tab
+ {{ $t('panel.add_tab') }}
@@ -87,13 +87,13 @@ export default {
paste() {
this.$store.commit('paste', true)
- this.$store.commit('recordSnapshot','paste')
+ this.$store.commit('recordSnapshot', 'paste')
},
deleteComponent() {
this.deleteCurCondition()
this.$store.commit('deleteComponent')
- this.$store.commit('recordSnapshot','deleteComponent')
+ this.$store.commit('recordSnapshot', 'deleteComponent')
this.$store.commit('setCurComponent', { component: null, index: null })
},
@@ -106,22 +106,22 @@ export default {
upComponent() {
this.$store.commit('upComponent')
- this.$store.commit('recordSnapshot','upComponent')
+ this.$store.commit('recordSnapshot', 'upComponent')
},
downComponent() {
this.$store.commit('downComponent')
- this.$store.commit('recordSnapshot','downComponent')
+ this.$store.commit('recordSnapshot', 'downComponent')
},
topComponent() {
this.$store.commit('topComponent')
- this.$store.commit('recordSnapshot','topComponent')
+ this.$store.commit('recordSnapshot', 'topComponent')
},
bottomComponent() {
this.$store.commit('bottomComponent')
- this.$store.commit('recordSnapshot','bottomComponent')
+ this.$store.commit('recordSnapshot', 'bottomComponent')
},
linkageSetting() {
debugger
diff --git a/frontend/src/components/widget/DeWidget/DeTabs.vue b/frontend/src/components/widget/DeWidget/DeTabs.vue
index fb5adf25c0..26ffb9a7b2 100644
--- a/frontend/src/components/widget/DeWidget/DeTabs.vue
+++ b/frontend/src/components/widget/DeWidget/DeTabs.vue
@@ -46,12 +46,16 @@
:append-to-body="true"
:visible.sync="dialogVisible"
width="30%"
+ :show-close="false"
+ :close-on-click-modal="false"
center
>