release/2.19.1.2501.01-个税
This commit is contained in:
parent
41a6afdb40
commit
cfe8117bbf
|
|
@ -67,6 +67,7 @@ class Index extends Component {
|
||||||
return _.map(_.filter(toJS(declareTableStore.columns), (item) => (item.display === "true" && showColumns.includes(item["dataIndex"]))), o => ({
|
return _.map(_.filter(toJS(declareTableStore.columns), (item) => (item.display === "true" && showColumns.includes(item["dataIndex"]))), o => ({
|
||||||
dataIndex: o.dataIndex, title: o.title, width: 150,
|
dataIndex: o.dataIndex, title: o.title, width: 150,
|
||||||
render: (text, record) => {
|
render: (text, record) => {
|
||||||
|
if (!record[o["dataIndex"]]) return <span/>;
|
||||||
return Object.prototype.toString.call(record[o["dataIndex"]]) === "[object String]" ? <span>{text}</span> :
|
return Object.prototype.toString.call(record[o["dataIndex"]]) === "[object String]" ? <span>{text}</span> :
|
||||||
<div className="comparison-column-item-container">
|
<div className="comparison-column-item-container">
|
||||||
<div className="comparison-single-row">
|
<div className="comparison-single-row">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue