Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into offline-icon

This commit is contained in:
dap
2024-11-07 19:52:07 +08:00
44 changed files with 1655 additions and 88 deletions

View File

@@ -77,7 +77,7 @@ setupVbenVxeTable({
// 表格配置项可以用 cellRender: { name: 'CellImage' },
vxeUI.renderer.add('CellImage', {
renderDefault(_renderOpts, params) {
renderTableDefault(_renderOpts, params) {
const { column, row } = params;
return h(Image, { src: row[column.field] });
},
@@ -85,7 +85,7 @@ setupVbenVxeTable({
// 表格配置项可以用 cellRender: { name: 'CellLink' },
vxeUI.renderer.add('CellLink', {
renderDefault(renderOpts) {
renderTableDefault(renderOpts) {
const { props } = renderOpts;
return h(
Button,