diff --git a/core/frontend/src/components/widget/deWidget/DeDate.vue b/core/frontend/src/components/widget/deWidget/DeDate.vue index 65a4c9d5b6..6ff5e5a66c 100644 --- a/core/frontend/src/components/widget/deWidget/DeDate.vue +++ b/core/frontend/src/components/widget/deWidget/DeDate.vue @@ -254,7 +254,7 @@ export default { const param = cut.callBack(); this.startWindowTime = param[0] const disabled = param.some(ele => { - return this.disabledDate(ele) + return this.disabledDate(ele - 1000) }) this.startWindowTime = 0 if (disabled) return diff --git a/core/frontend/src/lang/en.js b/core/frontend/src/lang/en.js index 616a3e68f2..5f74ff4cac 100644 --- a/core/frontend/src/lang/en.js +++ b/core/frontend/src/lang/en.js @@ -42,6 +42,7 @@ export default { } }, time: { + dropdown_display_must: 'The display style of the current component is tiled. If it is not mandatory, the display style of the component will switch to dropdown display', end_time_start_time: 'The end time must be greater than or equal to the start time', passing_parameters: 'Empty data does not support passing parameters', not_supported: 'After binding parameters, passing empty data is not supported', diff --git a/core/frontend/src/lang/tw.js b/core/frontend/src/lang/tw.js index 2d9b9baafe..f714b597cf 100644 --- a/core/frontend/src/lang/tw.js +++ b/core/frontend/src/lang/tw.js @@ -42,6 +42,7 @@ export default { } }, time: { + dropdown_display_must: '當前組件的展示風格為平鋪,如果設為非必填,那麼組件的展示風格將切換為下拉展示。', end_time_start_time: '結束時間必須大於或等於開始時間', passing_parameters: '空數據不支持傳參數', not_supported: '綁定參數後,不支持傳空數據', diff --git a/core/frontend/src/lang/zh.js b/core/frontend/src/lang/zh.js index 8618970c08..a69e63aa59 100644 --- a/core/frontend/src/lang/zh.js +++ b/core/frontend/src/lang/zh.js @@ -46,6 +46,7 @@ export default { upload_limit_size: '图片大小不超过' }, time: { + dropdown_display_must: '当前组件的展示风格为平铺,如果设为非必填,那么组件的展示风格将切换为下拉展示。', end_time_start_time: '结束时间必须大于或等于开始时间', passing_parameters: '空数据不支持传参数', not_supported: '空数据不支持传参数', diff --git a/core/frontend/src/views/panel/filter/filterMain/FilterHead.vue b/core/frontend/src/views/panel/filter/filterMain/FilterHead.vue index 45f183f3f8..7459d91fc8 100644 --- a/core/frontend/src/views/panel/filter/filterMain/FilterHead.vue +++ b/core/frontend/src/views/panel/filter/filterMain/FilterHead.vue @@ -58,9 +58,12 @@ - 当前组件的展示风格为平铺,如果设为非必填,那么组件的展示风格将切换为下拉展示。 + {{ $t('time.dropdown_display_must') }}