From c0c820559b46f3a5ede6fbd7f66e77d09981829f Mon Sep 17 00:00:00 2001 From: Mr Ke <kelq@hugeinfo.com.cn> Date: Wed, 29 Apr 2020 11:56:31 +0800 Subject: [PATCH] 提升菜单栏体验,升级公共查询表单组件 --- src/components/page/index/rulesList/index.jsx | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/components/page/index/rulesList/index.jsx b/src/components/page/index/rulesList/index.jsx index 9802320..ee82d16 100644 --- a/src/components/page/index/rulesList/index.jsx +++ b/src/components/page/index/rulesList/index.jsx @@ -37,7 +37,6 @@ componentDidMount() { } link = (id) => { - console.log(id) this.props.history.push({ pathname: "/document/detail/" + id }); } @@ -47,9 +46,9 @@ renderColumns = () => { return [ - { title: '标题', dataIndex: 'documentTitle' }, + { title: '标题', dataIndex: 'documentTitle', ellipsis: true }, { - title: '通知内容', dataIndex: 'documentContent', width: '40%', ellipsis: true, render: (cur, item) => { + title: '通知内容', dataIndex: 'documentContent', ellipsis: true, render: (cur, item) => { return cur ? this.emoveTAG(cur) : '无' } }, @@ -60,14 +59,12 @@ } setFormData = data => { - console.log('form', data); this.setState({ formData: data, }); } onTabsChange = (key) => { - console.log(key); } @@ -94,7 +91,7 @@ > { documentId && - <FindAlreadyReadOrNotView key={documentId} documentId={documentId}/> + <FindAlreadyReadOrNotView key={documentId} documentId={documentId} /> } </Modal> -- Gitblit v1.8.0