From 5dd3bdc23f78763cd0a22c3e0945f11708fb90d2 Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Thu, 11 Jul 2024 10:38:07 +0800 Subject: [PATCH] =?UTF-8?q?[issues/6368]=20rangeDate=E5=8E=BB=E6=8E=89?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E5=85=81=E8=AE=B8=E8=B5=B7=E5=A7=8B=E9=A1=B9?= =?UTF-8?q?=E6=88=96=E7=BB=93=E6=9D=9F=E9=A1=B9=E4=B8=BA=E7=A9=BA=E5=85=BC?= =?UTF-8?q?=E5=AE=B9allowEmpty?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Form/src/jeecg/components/JRangeDate.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jeecgboot-vue3/src/components/Form/src/jeecg/components/JRangeDate.vue b/jeecgboot-vue3/src/components/Form/src/jeecg/components/JRangeDate.vue index 865e3881..8aa99531 100644 --- a/jeecgboot-vue3/src/components/Form/src/jeecg/components/JRangeDate.vue +++ b/jeecgboot-vue3/src/components/Form/src/jeecg/components/JRangeDate.vue @@ -42,9 +42,9 @@ function handleChange(arr){ let str = '' if(arr && arr.length>0){ - if(arr[1] && arr[0]){ - str = arr.join(',') - } + // update-begin--author:liaozhiyang---date:20240710---for:[issues/6368] rangeDate去掉判断允许起始项或结束项为空兼容allowEmpty + str = arr.join(',') + // update-end--author:liaozhiyang---date:20240710---for:[issues/6368] rangeDate去掉判断允许起始项或结束项为空兼容allowEmpty } emit('change', str); emit('update:value', str); @@ -62,4 +62,4 @@ \ No newline at end of file +