diff --git a/core/core-frontend/src/views/chart/components/editor/editor-senior/components/dialog/TableThresholdEdit.vue b/core/core-frontend/src/views/chart/components/editor/editor-senior/components/dialog/TableThresholdEdit.vue
index 0f2fc8282a..95cf157ff2 100644
--- a/core/core-frontend/src/views/chart/components/editor/editor-senior/components/dialog/TableThresholdEdit.vue
+++ b/core/core-frontend/src/views/chart/components/editor/editor-senior/components/dialog/TableThresholdEdit.vue
@@ -273,6 +273,9 @@ const changeThreshold = () => {
const addConditions = item => {
const newCondition = JSON.parse(JSON.stringify(thresholdCondition))
+ if (item.field.dateStyle === 'H_m_s') {
+ newCondition.value = '00:00:00'
+ }
// 获取单元格默认背景颜色
const tableCell = props.chart?.customAttr?.tableCell
if (tableCell) {
@@ -542,12 +545,26 @@ init()
/>
+
+ dateStyle === 'H_m_s' || (dateStyle && dateStyle.length > 5 && dateStyle.length < 11)
+
+ let v: number | string
+ if (isSpecialTimeFormat(field?.field?.dateStyle)) {
+ v = value
+ } else {
+ v = new Date(value.replace(/-/g, '/') + ' GMT+8').getTime()
+ tv = new Date(tv.replace(/-/g, '/') + ' GMT+8').getTime()
+ }
if (fc.term === 'eq') {
if (v === tv) {
color = fc[type]