mirror of https://github.com/fantasticit/think.git
client: update table width
This commit is contained in:
parent
2b64a7c09f
commit
75e3c8dbe4
|
@ -48,11 +48,12 @@ const RecentDocs = () => {
|
||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
/>,
|
/>,
|
||||||
<Column title="阅读量" dataIndex="views" key="views" />,
|
<Column width={100} title="阅读量" dataIndex="views" key="views" />,
|
||||||
<Column
|
<Column
|
||||||
title="创建者"
|
title="创建者"
|
||||||
dataIndex="createUser"
|
dataIndex="createUser"
|
||||||
key="createUser"
|
key="createUser"
|
||||||
|
width={160}
|
||||||
render={(createUser) => {
|
render={(createUser) => {
|
||||||
return (
|
return (
|
||||||
<span>
|
<span>
|
||||||
|
@ -64,11 +65,18 @@ const RecentDocs = () => {
|
||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
/>,
|
/>,
|
||||||
<Column title="访问时间" dataIndex="visitedAt" key="visitedAt" render={(date) => <LocaleTime date={date} />} />,
|
<Column
|
||||||
|
width={120}
|
||||||
|
title="访问时间"
|
||||||
|
dataIndex="visitedAt"
|
||||||
|
key="visitedAt"
|
||||||
|
render={(date) => <LocaleTime date={date} />}
|
||||||
|
/>,
|
||||||
<Column
|
<Column
|
||||||
title="操作"
|
title="操作"
|
||||||
dataIndex="operate"
|
dataIndex="operate"
|
||||||
key="operate"
|
key="operate"
|
||||||
|
width={80}
|
||||||
render={(_, document) => (
|
render={(_, document) => (
|
||||||
<DocumentActions
|
<DocumentActions
|
||||||
wikiId={document.wikiId}
|
wikiId={document.wikiId}
|
||||||
|
|
Loading…
Reference in New Issue