U web improve experience

This commit is contained in:
雷二猛 2019-12-02 23:13:32 +08:00
parent 86ede36795
commit 76c2bcf922
2 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,8 @@ class ComTable extends React.Component {
columns = [{
title: '序号',
key: 'series',
render: (_, __, index) => index + 1
render: (_, __, index) => index + 1,
width: 80
}, {
title: '登录名',
dataIndex: 'username',

View File

@ -9,7 +9,7 @@ export default function () {
<Card>
<SearchForm>
<SearchForm.Item span={8} title="账户名称">
<Input onChange={e => store.f_name = e.target.value} placeholder="请输入"/>
<Input allowClear onChange={e => store.f_name = e.target.value} placeholder="请输入"/>
</SearchForm.Item>
<SearchForm.Item span={8} title="账户状态">
<Select allowClear onChange={v => store.f_status = v} placeholder="请选择">