From fd3f1c960e6375fb70ab9a89c2375373f929e266 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Thu, 10 Apr 2025 09:30:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BB=AA?= =?UTF-8?q?=E8=A1=A8=E6=9D=BF=E6=9F=A5=E8=AF=A2=E5=9B=BE=E8=A1=A8=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/custom-component/v-query/Time.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/custom-component/v-query/Time.vue b/core/core-frontend/src/custom-component/v-query/Time.vue index 60636828de..fb48fb3c9c 100644 --- a/core/core-frontend/src/custom-component/v-query/Time.vue +++ b/core/core-frontend/src/custom-component/v-query/Time.vue @@ -146,8 +146,8 @@ watch( const handleValueChange = () => { selectValue.value = Array.isArray(selectValue.value) - ? selectValue.value.map(ele => dayjs(ele).format('YYYY/MM/DD HH:mm:ss')) - : dayjs(selectValue.value).format('YYYY/MM/DD HH:mm:ss') + ? selectValue.value.map(ele => ele && dayjs(ele).format('YYYY/MM/DD HH:mm:ss')) + : selectValue.value && dayjs(selectValue.value).format('YYYY/MM/DD HH:mm:ss') const value = Array.isArray(selectValue.value) ? [...selectValue.value] : selectValue.value if (!props.isConfig) { config.value.selectValue = Array.isArray(selectValue.value)