From 3bab291a0f71424bb318fef896cca27a7449146b Mon Sep 17 00:00:00 2001 From: cshaptx4869 <994774638@qq.com> Date: Mon, 13 May 2024 10:30:09 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20:recycle:=20=E4=BF=AE=E6=94=B9CURD?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B=E7=9A=84search=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/demo/curd/config/search.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/views/demo/curd/config/search.ts b/src/views/demo/curd/config/search.ts index 7ed19fbd..07045b57 100644 --- a/src/views/demo/curd/config/search.ts +++ b/src/views/demo/curd/config/search.ts @@ -11,7 +11,7 @@ const searchConfig: ISearchConfig = { placeholder: "用户名/昵称/手机号", clearable: true, style: { - width: "80%", + width: "200px", }, }, }, @@ -42,7 +42,7 @@ const searchConfig: ISearchConfig = { "render-after-expand": false, clearable: true, style: { - width: "80%", + width: "150px", }, }, }, @@ -54,7 +54,7 @@ const searchConfig: ISearchConfig = { placeholder: "全部", clearable: true, style: { - width: "60%", + width: "100px", }, }, options: [ @@ -73,12 +73,11 @@ const searchConfig: ISearchConfig = { "end-placeholder": "截止时间", "value-format": "YYYY-MM-DD", style: { - width: "60%", + width: "240px", }, }, }, ], - isExpandable: true, }; export default searchConfig;