From edd3fc2faddd189f588c934cf06b40640965c1f8 Mon Sep 17 00:00:00 2001 From: Vimin Date: Fri, 2 Jun 2023 18:12:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E9=BC=A0=E6=A0=87?= =?UTF-8?q?=E5=9C=A8=E6=97=B6=E9=97=B4=E9=80=89=E6=8B=A9=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=97=A0=E6=B3=95=E6=BB=9A=E5=8A=A8=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/table/comSearch/index.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/web/src/components/table/comSearch/index.vue b/web/src/components/table/comSearch/index.vue index b8e73a43c..2b6cd0f30 100644 --- a/web/src/components/table/comSearch/index.vue +++ b/web/src/components/table/comSearch/index.vue @@ -19,6 +19,7 @@ :start-placeholder="$t('el.datepicker.startDate')" :end-placeholder="$t('el.datepicker.endDate')" :value-format="item.comSearchRender == 'date' ? 'YYYY-MM-DD' : 'YYYY-MM-DD HH:mm:ss'" + :teleported="false" /> @@ -55,8 +56,9 @@ :type="item.comSearchRender == 'date' ? 'date' : 'datetime'" :value-format="item.comSearchRender == 'date' ? 'YYYY-MM-DD' : 'YYYY-MM-DD HH:mm:ss'" :placeholder="item.operatorPlaceholder" - :default-value="baTable.comSearch.form[item.prop! + '-default'] ? baTable.comSearch.form[item.prop! + '-default']:new Date()" - > + :default-value="baTable.comSearch.form[item.prop! + '-default'] ? baTable.comSearch.form[item.prop! + '-default']:new Date()" + :teleported="false" + /> {