diff --git a/core/frontend/src/lang/en.js b/core/frontend/src/lang/en.js index 617806473a..565d57928e 100644 --- a/core/frontend/src/lang/en.js +++ b/core/frontend/src/lang/en.js @@ -1584,7 +1584,8 @@ export default { map_line_theta_offset: 'Radian', gauge_axis_label: 'Axis Label', word_size_range: 'Word Size Range', - word_spacing: 'Word Spacing' + word_spacing: 'Word Spacing', + axis_multi_select_tip: 'Hold down the Ctrl or Shift key and click to select more than one' }, dataset: { scope_edit: 'Effective only when editing', diff --git a/core/frontend/src/lang/tw.js b/core/frontend/src/lang/tw.js index d5deca71ac..bcb8ec3da1 100644 --- a/core/frontend/src/lang/tw.js +++ b/core/frontend/src/lang/tw.js @@ -1576,7 +1576,8 @@ export default { map_line_theta_offset: '弧度', gauge_axis_label: '刻度標籤', word_size_range: '字號區間', - word_spacing: '文字間隔' + word_spacing: '文字間隔', + axis_multi_select_tip: '按住 Ctrl 鍵或者 Shift 鍵再點擊可多選' }, dataset: { scope_edit: '僅編輯時生效', diff --git a/core/frontend/src/lang/zh.js b/core/frontend/src/lang/zh.js index b4db1cadf6..418d25b9fa 100644 --- a/core/frontend/src/lang/zh.js +++ b/core/frontend/src/lang/zh.js @@ -1576,7 +1576,8 @@ export default { map_line_theta_offset: '弧度', gauge_axis_label: '刻度标签', word_size_range: '字号区间', - word_spacing: '文字间隔' + word_spacing: '文字间隔', + axis_multi_select_tip: '按住 Ctrl 键或者 Shift 键再点击可多选' }, dataset: { scope_edit: '仅编辑时生效', diff --git a/core/frontend/src/views/chart/components/ChartComponentS2.vue b/core/frontend/src/views/chart/components/ChartComponentS2.vue index 36a328682b..907bbbec8d 100644 --- a/core/frontend/src/views/chart/components/ChartComponentS2.vue +++ b/core/frontend/src/views/chart/components/ChartComponentS2.vue @@ -244,7 +244,7 @@ export default { beforeDestroy() { clearInterval(this.scrollTimer) window.removeEventListener('resize', this.onResize) - this.myChart.destroy() + this.myChart?.destroy?.() this.myChart = null }, methods: { diff --git a/core/frontend/src/views/chart/components/table/TableNormal.vue b/core/frontend/src/views/chart/components/table/TableNormal.vue index c0518b44ec..5f4368e1f8 100644 --- a/core/frontend/src/views/chart/components/table/TableNormal.vue +++ b/core/frontend/src/views/chart/components/table/TableNormal.vue @@ -326,7 +326,7 @@ export default { data = [] this.resetPage() } - if (this.chart.data.detailFields?.length) { + if (this.chart.data?.detailFields?.length) { let result = [] let groupRowIndex = 0 data.forEach(item => { diff --git a/core/frontend/src/views/chart/view/ChartEdit.vue b/core/frontend/src/views/chart/view/ChartEdit.vue index 3ea3839883..78b86db77c 100644 --- a/core/frontend/src/views/chart/view/ChartEdit.vue +++ b/core/frontend/src/views/chart/view/ChartEdit.vue @@ -148,23 +148,42 @@ direction="vertical" >