crud placeholder 支持配置其他渲染器

This commit is contained in:
liaoxuezhi 2020-07-03 22:35:28 +08:00
parent 5b4d342eb0
commit c643ef91c4

View File

@ -839,7 +839,7 @@ export default class Cards extends React.Component<GridProps, object> {
</div>
) : (
<div className={cx('Cards-placeholder')}>
{filter(__(placeholder), data)}
{render('placeholder', __(placeholder))}
</div>
)}