From 01ba0ba798301f650007942181a6db48f23cb79d Mon Sep 17 00:00:00 2001 From: xuliangzhan Date: Mon, 22 Jul 2024 22:57:59 +0800 Subject: [PATCH] releases 4.7.59 --- package.json | 4 ++-- packages/table/render/index.ts | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ef8485bf09..2182f66e8e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vxe-table", - "version": "4.7.58", + "version": "4.7.59", "description": "一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟树、列拖拽,懒加载、快捷菜单、数据校验、树形结构、打印、导入导出、自定义模板、渲染器、JSON 配置式...", "scripts": { "update": "npm install --legacy-peer-deps", @@ -28,7 +28,7 @@ "style": "lib/style.css", "typings": "types/index.d.ts", "dependencies": { - "vxe-pc-ui": "^4.0.79" + "vxe-pc-ui": "^4.0.82" }, "devDependencies": { "@types/resize-observer-browser": "^0.1.11", diff --git a/packages/table/render/index.ts b/packages/table/render/index.ts index 26fb8ce35e..18108b7625 100644 --- a/packages/table/render/index.ts +++ b/packages/table/render/index.ts @@ -746,6 +746,20 @@ renderer.mixin({ ] } }, + VxeImageGroup: { + renderDefault (renderOpts, params) { + const { row, column } = params + const { props } = renderOpts + const cellValue = getCellValue(row, column) + return [ + h(getDefaultComponent(renderOpts), { + ...props, + urlList: cellValue, + ...getEditOns(renderOpts, params) + }) + ] + } + }, // 以下已废弃 $input: {