Files
lanzhouhailiang_one/lms/nladmin-ui/src/views/components/VxeTableRender/empty.js
2022-10-15 15:31:18 +08:00

14 lines
300 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 'vxe-table'
// 创建一个简单的空内容渲染
VXETable.renderer.add('NotData', {
// 空内容模板
renderEmpty() {
return [
<span>
<img src='/vxe-table/static/other/img1.gif'/>
<p>没有更多数据了</p>
</span>
]
}
})