Files
vxe-table/examples/plugins/xtable/renderer/empty.js
2020-02-10 14:34:50 +08:00

15 lines
321 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import VXETable from '../../../../packages/v-x-e-table'
// 创建一个空内容渲染器
VXETable.renderer.add('NotData', {
// 空内容模板
renderEmpty (h, renderOpts) {
return [
<span>
<img src="static/other/img1.gif"/>
<p>没有更多数据了</p>
</span>
]
}
})