From 2d11082fe4d8c3947d081796cc0237e7af86925d Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 18 Jan 2024 09:38:54 +0800 Subject: [PATCH 1/2] =?UTF-8?q?refactor(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=E5=88=B7=E6=96=B0=E6=96=87=E6=A1=88=20#6027?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/frontend/src/lang/en.js | 2 +- core/frontend/src/lang/tw.js | 2 +- core/frontend/src/lang/zh.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/frontend/src/lang/en.js b/core/frontend/src/lang/en.js index ac48f552eb..d5b09590f6 100644 --- a/core/frontend/src/lang/en.js +++ b/core/frontend/src/lang/en.js @@ -2087,7 +2087,7 @@ export default { component_color: 'Component color', chart_title: 'Chart title', filter_component: 'Filter component', - enable_refresh_view: 'Enable refresh', + enable_refresh_view: 'Data refresh', enable_view_loading: 'View loading prompt', image_size_tips: 'Please do not exceed 15M in the picture', image_add_tips: 'Only pictures can be inserted', diff --git a/core/frontend/src/lang/tw.js b/core/frontend/src/lang/tw.js index 47f4364454..dc821f49a1 100644 --- a/core/frontend/src/lang/tw.js +++ b/core/frontend/src/lang/tw.js @@ -2079,7 +2079,7 @@ export default { component_color: '組件配色', chart_title: '圖表標題', filter_component: '過濾組件', - enable_refresh_view: '開啟刷新', + enable_refresh_view: '数据刷新', enable_view_loading: '視圖加載提示', image_size_tips: '圖片請不要大於15M', image_add_tips: '只能插入圖片', diff --git a/core/frontend/src/lang/zh.js b/core/frontend/src/lang/zh.js index 43e3206d26..85eac6ce96 100644 --- a/core/frontend/src/lang/zh.js +++ b/core/frontend/src/lang/zh.js @@ -2082,7 +2082,7 @@ export default { component_color: '组件配色', chart_title: '图表标题', filter_component: '过滤组件', - enable_refresh_view: '开启刷新', + enable_refresh_view: '数据刷新', enable_view_loading: '视图加载提示', image_size_tips: '图片请不要大于15M', image_add_tips: '只能插入图片', From b3c40828631de1ed6329e1b4553a77f2ec97035d Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 18 Jan 2024 09:49:19 +0800 Subject: [PATCH 2/2] =?UTF-8?q?refactor(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20?= =?UTF-8?q?=E5=85=AC=E5=85=B1=E9=93=BE=E6=8E=A5=E7=A7=BB=E5=8A=A8=E7=AB=AF?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=98=AF=E6=97=A0=E9=9C=80=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=20#6252?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/canvas/components/editor/CanvasOptBar.vue | 8 ++++++++ .../src/components/canvas/components/editor/Preview.vue | 1 + 2 files changed, 9 insertions(+) diff --git a/core/frontend/src/components/canvas/components/editor/CanvasOptBar.vue b/core/frontend/src/components/canvas/components/editor/CanvasOptBar.vue index 820323706d..a07886fcd5 100644 --- a/core/frontend/src/components/canvas/components/editor/CanvasOptBar.vue +++ b/core/frontend/src/components/canvas/components/editor/CanvasOptBar.vue @@ -30,6 +30,7 @@ class="icon iconfont icon-quxiaoliandong" />{{ $t('panel.remove_all_linkage') }}111 @@ -90,6 +91,10 @@ export default { backToTopBtn: { type: Boolean, default: false + }, + terminal: { + type: String, + default: 'pc' } }, data() { @@ -99,6 +104,9 @@ export default { } }, computed: { + downloadPdfShow() { + return this.terminal === 'PC' + }, functionClass() { let result = 'function-light' if (this.canvasStyleData?.panel?.themeColor === 'dark') { diff --git a/core/frontend/src/components/canvas/components/editor/Preview.vue b/core/frontend/src/components/canvas/components/editor/Preview.vue index c64c3bddd3..1cbca01509 100644 --- a/core/frontend/src/components/canvas/components/editor/Preview.vue +++ b/core/frontend/src/components/canvas/components/editor/Preview.vue @@ -9,6 +9,7 @@