init project

This commit is contained in:
ldj_willow
2022-07-06 18:32:05 +08:00
parent 87ed66116e
commit e0498895f2
750 changed files with 68267 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import VXETable from 'vxe-table'
// 创建一个简单的超链接渲染
VXETable.renderer.add('MyLink', {
// 默认显示模板
renderDefault(h, renderOpts, params) {
const { row, column } = params
const { events } = renderOpts
return [
<a class='link' onClick={() => events.click(params)}>{row[column.property]}</a>
]
}
})