diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js index c56e64da1e..87d5a9b2db 100644 --- a/frontend/src/lang/en.js +++ b/frontend/src/lang/en.js @@ -1520,7 +1520,8 @@ export default { p_center: 'Center', table_auto_break_line: 'Auto Line Feed', table_break_line_tip: 'If open this option,the table item height will disabled.', - step: 'Step(px)' + step: 'Step(px)', + no_function: 'Function not enter,please input.' }, dataset: { scope_edit: 'Effective only when editing', diff --git a/frontend/src/lang/tw.js b/frontend/src/lang/tw.js index 3cce266d0c..3d498f8b7f 100644 --- a/frontend/src/lang/tw.js +++ b/frontend/src/lang/tw.js @@ -1514,7 +1514,8 @@ export default { p_center: '居中', table_auto_break_line: '自動換行', table_break_line_tip: '開啟自動換行,表格行高設置將失效', - step: '步長(px)' + step: '步長(px)', + no_function: '函數尚未支持直接引用,請在字段表達式中手動輸入。' }, dataset: { scope_edit: '僅編輯時生效', diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js index b8a85ba84f..8a0d49bb31 100644 --- a/frontend/src/lang/zh.js +++ b/frontend/src/lang/zh.js @@ -1,4 +1,4 @@ -import {$confirm} from "@/utils/message"; +import { $confirm } from '@/utils/message' export default { fu: { @@ -1515,7 +1515,8 @@ export default { p_center: '居中', table_auto_break_line: '自动换行', table_break_line_tip: '开启自动换行,表格行高设置将失效', - step: '步长(px)' + step: '步长(px)', + no_function: '函数尚未支持直接引用,请在字段表达式中手动输入。' }, dataset: { scope_edit: '仅编辑时生效', diff --git a/frontend/src/views/chart/view/CalcChartFieldEdit.vue b/frontend/src/views/chart/view/CalcChartFieldEdit.vue index 4ed42a2e45..d0ea61a4b3 100644 --- a/frontend/src/views/chart/view/CalcChartFieldEdit.vue +++ b/frontend/src/views/chart/view/CalcChartFieldEdit.vue @@ -260,26 +260,32 @@ clearable /> - -

{{ item.name }}

-

{{ item.func }}

-

{{ item.desc }}

- {{ - item.func - }} -
+
+ +

{{ item.name }}

+

{{ item.func }}

+

{{ item.desc }}

+ {{ + item.func + }} +
+
+
{{ $t('chart.no_function') }}
diff --git a/frontend/src/views/dataset/data/CalcFieldEdit.vue b/frontend/src/views/dataset/data/CalcFieldEdit.vue index 022b6a0c4d..404b0f50a6 100644 --- a/frontend/src/views/dataset/data/CalcFieldEdit.vue +++ b/frontend/src/views/dataset/data/CalcFieldEdit.vue @@ -236,24 +236,30 @@ clearable /> - -

{{ item.name }}

-

{{ item.func }}

-

{{ item.desc }}

- {{ item.func }} -
+
+ +

{{ item.name }}

+

{{ item.func }}

+

{{ item.desc }}

+ {{ item.func }} +
+
+
{{ $t('chart.no_function') }}