diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts
index 5e1ad41f39..4e83ad2d48 100644
--- a/core/core-frontend/src/locales/en.ts
+++ b/core/core-frontend/src/locales/en.ts
@@ -1,5 +1,6 @@
export default {
common: {
+ empty: ' ',
component: {
input: 'Input',
textarea: 'Textarea',
@@ -10,6 +11,8 @@ export default {
dateRange: 'Date Range Picker',
add_component_hint: 'Click or drag the component on the left to add a field'
},
+ local_excel: 'Local Excel/CSV',
+ remote_excel: 'Remote Excel/CSV',
list_selection: 'List selection',
date_setting: 'Date setting',
openMobileTerminal: 'Open mobile terminal',
diff --git a/core/core-frontend/src/locales/tw.ts b/core/core-frontend/src/locales/tw.ts
index f67cdf0371..a20237c1ef 100644
--- a/core/core-frontend/src/locales/tw.ts
+++ b/core/core-frontend/src/locales/tw.ts
@@ -1,5 +1,6 @@
export default {
common: {
+ empty: '',
component: {
input: '單行輸入',
textarea: '多行輸入',
@@ -10,6 +11,8 @@ export default {
dateRange: '時間範圍',
add_component_hint: '點選或拖曳左側元件新增欄位'
},
+ local_excel: '本地 Excel/CSV',
+ remote_excel: '遠端 Excel/CSV',
list_selection: '清單選擇',
date_setting: '日期設定',
openMobileTerminal: '開啟行動端',
diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts
index 422013fcec..224de85a79 100644
--- a/core/core-frontend/src/locales/zh-CN.ts
+++ b/core/core-frontend/src/locales/zh-CN.ts
@@ -1,6 +1,9 @@
export default {
common: {
+ empty: '',
timeout_tips: '请求超时,请稍后再试',
+ local_excel: '本地 Excel/CSV',
+ remote_excel: '远程 Excel/CSV',
watermarkManagement: '水印管理',
list_selection: '列表选择',
date_setting: '日期设置',
diff --git a/core/core-frontend/src/views/visualized/data/datasource/form/ExcelDetail.vue b/core/core-frontend/src/views/visualized/data/datasource/form/ExcelDetail.vue
index e0b55e0eed..f06feafef8 100644
--- a/core/core-frontend/src/views/visualized/data/datasource/form/ExcelDetail.vue
+++ b/core/core-frontend/src/views/visualized/data/datasource/form/ExcelDetail.vue
@@ -641,14 +641,31 @@ defineExpose({
:rules="[
{
required: true,
- message: t('common.please_input') + t('datasource.datasource') + t('common.name')
+ message:
+ t('common.please_input') +
+ t('common.empty') +
+ t('datasource.datasource') +
+ t('common.empty') +
+ t('common.name')
}
]"
- :label="t('visualization.custom') + t('datasource.datasource') + t('common.name')"
+ :label="
+ t('visualization.custom') +
+ t('common.empty') +
+ t('datasource.datasource') +
+ t('common.empty') +
+ t('common.name')
+ "
>
@@ -787,7 +804,8 @@ defineExpose({
background: #f5f6f7;
padding: 16px;
.btn-select {
- width: 164px;
+ min-width: 164px;
+ padding: 0 6px;
height: 32px;
display: flex;
align-items: center;
@@ -805,7 +823,7 @@ defineExpose({
}
.ed-button.is-text {
height: 24px;
- width: 74px;
+ min-width: 74px;
line-height: 24px;
}
.ed-button + .ed-button {
diff --git a/core/core-frontend/src/views/visualized/data/datasource/form/ExcelRemoteDetail.vue b/core/core-frontend/src/views/visualized/data/datasource/form/ExcelRemoteDetail.vue
index 59b8170501..f9639734d2 100644
--- a/core/core-frontend/src/views/visualized/data/datasource/form/ExcelRemoteDetail.vue
+++ b/core/core-frontend/src/views/visualized/data/datasource/form/ExcelRemoteDetail.vue
@@ -780,7 +780,7 @@ defineExpose({