From 938a5c06da608b5c5a293747365962c2fe30a8e5 Mon Sep 17 00:00:00 2001 From: yangfan <784310601@qq.com> Date: Wed, 13 May 2026 17:46:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/stock/SecondBoardCalendar.vue | 64 ++++++++++++++++++------- 1 file changed, 48 insertions(+), 16 deletions(-) diff --git a/src/views/stock/SecondBoardCalendar.vue b/src/views/stock/SecondBoardCalendar.vue index 011e2e7..d5c17e2 100644 --- a/src/views/stock/SecondBoardCalendar.vue +++ b/src/views/stock/SecondBoardCalendar.vue @@ -141,24 +141,34 @@ - - - - + + + + + + + + + + - + - + - + - + @@ -167,24 +177,34 @@ - - - - + + + + + + + + + + - + - + - + - + @@ -395,6 +415,18 @@ const formatProfitFlag = (value) => { if (value === false) return "否"; return "--"; }; + +const formatLimitTime = (value) => { + if (value === null || value === undefined || value === "") return "--"; + return String(value); +}; + +const formatOpenTimes = (value) => { + if (value === null || value === undefined || value === "") return "--"; + + const number = Number(value); + return Number.isFinite(number) ? number : "--"; +};