From 48b037e2376d39a1f06f54c515fa5a0a2c93635e Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Mon, 26 Jul 2021 14:46:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=85=A8=E5=B1=8F=E9=A2=84=E8=A7=88?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E4=B8=8B=E6=97=A5=E6=9C=9F=E6=8E=A7=E4=BB=B6?= =?UTF-8?q?=E4=B8=8B=E6=8B=89=E4=B8=8D=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/widget/DeWidget/DeDate.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/src/components/widget/DeWidget/DeDate.vue b/frontend/src/components/widget/DeWidget/DeDate.vue index 82139b617e..d50a0f8f65 100644 --- a/frontend/src/components/widget/DeWidget/DeDate.vue +++ b/frontend/src/components/widget/DeWidget/DeDate.vue @@ -8,6 +8,7 @@ :start-placeholder="$t(options.attrs.startPlaceholder)" :end-placeholder="$t(options.attrs.endPlaceholder)" :placeholder="$t(options.attrs.placeholder)" + :append-to-body="inScreen" style="min-height: 36px;" @change="dateChange" /> @@ -25,6 +26,11 @@ export default { inDraw: { type: Boolean, default: true + }, + inScreen: { + type: Boolean, + required: false, + default: true } }, data() {