placeholder 不限制只能是字符串

This commit is contained in:
liaoxuezhi 2019-09-25 10:34:48 +08:00
parent 2e5d5a510b
commit df17101117

View File

@ -1558,10 +1558,7 @@ export default class Table extends React.Component<TableProps, object> {
<td colSpan={store.filteredColumns.length}>
{render(
'placeholder',
{
type: 'tpl',
tpl: placeholder
},
placeholder,
{data}
)}
</td>