From 2ea56ed08b58386f0612635101b1acd51cd4a44c Mon Sep 17 00:00:00 2001 From: Mr Ke <kelq@hugeinfo.com.cn> Date: Wed, 29 Apr 2020 18:06:45 +0800 Subject: [PATCH] 浏览日志,操作日志;用户中心(个人信息);用户管理(用户中心) --- src/components/common/SearchFormView/index.jsx | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/common/SearchFormView/index.jsx b/src/components/common/SearchFormView/index.jsx index f187baa..398649e 100644 --- a/src/components/common/SearchFormView/index.jsx +++ b/src/components/common/SearchFormView/index.jsx @@ -108,6 +108,7 @@ render() { const { formData = {}, data = [], children } = this.props; + let size = 'default'; return ( <div className="search-form-view-main"> @@ -123,7 +124,7 @@ return ( <Form.Item label={item.label}> <Select - size="small" + size={size} style={{ width: '100%' }} placeholder={item.name} value={formData[item.key]} @@ -144,7 +145,7 @@ return ( <Form.Item label={item.label}> <Input - size="small" + size={size} placeholder={item.name} name={item.key} value={formData[item.key]} @@ -156,7 +157,7 @@ return ( <Form.Item label={item.label}> <DatePicker - size="small" + size={size} style={{ width: '100%' }} placeholder={item.name} onChange={(date, dateString) => { @@ -171,7 +172,7 @@ <Form.Item label={item.label}> <RangePicker style={{ width: '100%'}} - size="small" + size={size} ranges={{ Today: [moment(), moment()], 'This Month': [ @@ -214,7 +215,7 @@ <Row type="flex" gutter={20} align="middle" align="middle" style={{ height: 40 }}> <Col> <Button - size="small" + size={size} type="primary" onClick={() => { this.onClick('search'); @@ -224,7 +225,7 @@ </Col> <Col> <Button - size="small" + size={size} onClick={() => { this.onClick('reset'); }}> -- Gitblit v1.8.0