diff --git a/frontend/src/components/canvas/components/Editor/PreviewEject.vue b/frontend/src/components/canvas/components/Editor/PreviewEject.vue index 62787bce27..7fff238442 100644 --- a/frontend/src/components/canvas/components/Editor/PreviewEject.vue +++ b/frontend/src/components/canvas/components/Editor/PreviewEject.vue @@ -79,8 +79,6 @@ export default { }, mounted() { const _this = this - - debugger // 加载数据 _this.restore() const erd = elementResizeDetectorMaker() diff --git a/frontend/src/directive/DataPermission/index.js b/frontend/src/directive/DataPermission/index.js index ff75526c88..d217a40428 100644 --- a/frontend/src/directive/DataPermission/index.js +++ b/frontend/src/directive/DataPermission/index.js @@ -1,8 +1,6 @@ function checkDataPermission(el, binding, vnode) { const dataPermission = vnode.privileges - debugger const { value } = binding - console.log('permission:' + value) // // 数据授权采用并集的方式 部门 角色 用户 有一个有权限即可 // if (value && value instanceof Array) { // const needPermissions = value diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js index c26d30d397..118d1fa692 100644 --- a/frontend/src/lang/en.js +++ b/frontend/src/lang/en.js @@ -815,6 +815,7 @@ export default { input_limit_0_50: '0-50 chars' }, panel: { + drag_here: 'Please drag the left field here', copy_link_passwd: 'Copy link and password', copy_link: 'Copy link', passwd_protect: 'Password Protect', diff --git a/frontend/src/lang/tw.js b/frontend/src/lang/tw.js index 227b5ee337..bf73985ab4 100644 --- a/frontend/src/lang/tw.js +++ b/frontend/src/lang/tw.js @@ -814,6 +814,7 @@ export default { input_limit_0_50: '0-50字符' }, panel: { + drag_here: '請將左側字段拖至此處', copy_link_passwd: '複製鏈接及密碼', copy_link: '複製鏈接', passwd_protect: '密碼保護', diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js index b207001c86..a12f580cee 100644 --- a/frontend/src/lang/zh.js +++ b/frontend/src/lang/zh.js @@ -816,6 +816,7 @@ export default { input_limit_0_50: '0-50字符' }, panel: { + drag_here: '请将左侧字段拖至此处', copy_link_passwd: '复制链接及密码', copy_link: '复制链接', passwd_protect: '密码保护', diff --git a/frontend/src/views/panel/edit/index.vue b/frontend/src/views/panel/edit/index.vue index 7199c8b327..69bef7f6e5 100644 --- a/frontend/src/views/panel/edit/index.vue +++ b/frontend/src/views/panel/edit/index.vue @@ -255,7 +255,7 @@ export default { this.$router.replace('/panel/index') }, showPanel(type) { - debugger + if (this.showIndex === -1 || this.showIndex === type) { this.$nextTick(() => (this.show = !this.show)) } @@ -270,7 +270,6 @@ export default { // 点击样式按钮 排除 const stick = evt.target.closest('.el-icon-magic-stick') if (!parent && !self && !stick) { - debugger this.show = false window.removeEventListener('click', this.closeSidebar) this.showIndex = -1 @@ -388,7 +387,6 @@ export default { this.openFilterDiolog() }, closeLeftPanel() { - debugger this.show = false // this.beforeDestroy() }, diff --git a/frontend/src/views/panel/filter/filterDialog.vue b/frontend/src/views/panel/filter/filterDialog.vue index 1204ffe6c1..e2bcb80fab 100644 --- a/frontend/src/views/panel/filter/filterDialog.vue +++ b/frontend/src/views/panel/filter/filterDialog.vue @@ -120,8 +120,7 @@