refactor: ♻️ 修改CURD示例的search配置文件

This commit is contained in:
cshaptx4869
2024-05-13 10:30:09 +08:00
parent fbe760b7fc
commit 3bab291a0f

View File

@@ -11,7 +11,7 @@ const searchConfig: ISearchConfig = {
placeholder: "用户名/昵称/手机号", placeholder: "用户名/昵称/手机号",
clearable: true, clearable: true,
style: { style: {
width: "80%", width: "200px",
}, },
}, },
}, },
@@ -42,7 +42,7 @@ const searchConfig: ISearchConfig = {
"render-after-expand": false, "render-after-expand": false,
clearable: true, clearable: true,
style: { style: {
width: "80%", width: "150px",
}, },
}, },
}, },
@@ -54,7 +54,7 @@ const searchConfig: ISearchConfig = {
placeholder: "全部", placeholder: "全部",
clearable: true, clearable: true,
style: { style: {
width: "60%", width: "100px",
}, },
}, },
options: [ options: [
@@ -73,12 +73,11 @@ const searchConfig: ISearchConfig = {
"end-placeholder": "截止时间", "end-placeholder": "截止时间",
"value-format": "YYYY-MM-DD", "value-format": "YYYY-MM-DD",
style: { style: {
width: "60%", width: "240px",
}, },
}, },
}, },
], ],
isExpandable: true,
}; };
export default searchConfig; export default searchConfig;