From eca71b2d534ffca90bf83ae64292c8f4dea6e3d2 Mon Sep 17 00:00:00 2001 From: lizw-2015 <1183409807@qq.com> Date: Thu, 5 Jun 2025 18:40:21 +0800 Subject: [PATCH] =?UTF-8?q?style(yvan-lcc):=20=E4=BC=98=E5=8C=96=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E8=A1=A8=E5=8D=95=E7=BB=84=E4=BB=B6=E4=B8=AD=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E9=80=89=E6=8B=A9=E5=99=A8=E5=92=8C=E7=BA=A7=E8=81=94?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=99=A8=E7=9A=84=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 设置日期选择器和普通输入框的宽度为 100% - 设置级联选择器的宽度为 100% --- src/components/data-form/DataForm.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/data-form/DataForm.vue b/src/components/data-form/DataForm.vue index e49d975..bb2a871 100644 --- a/src/components/data-form/DataForm.vue +++ b/src/components/data-form/DataForm.vue @@ -461,7 +461,12 @@ export type { } .data-form :deep(.el-date-editor) { - --el-date-editor-width: unset; + --el-input-width: 100%; + --el-date-editor-width: 100%; +} + +.data-form :deep(.el-cascader) { + width: 100%; } .data-form-row {