Skip to content

Commit

Permalink
releases 4.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Nov 7, 2024
1 parent d4a5d32 commit a69fb2d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vxe-table",
"version": "4.8.2",
"version": "4.8.4",
"description": "一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟树、列拖拽,懒加载、快捷菜单、数据校验、树形结构、打印、导入导出、自定义模板、渲染器、JSON 配置式...",
"scripts": {
"update": "npm install --legacy-peer-deps",
Expand Down Expand Up @@ -28,7 +28,7 @@
"style": "lib/style.css",
"typings": "types/index.d.ts",
"dependencies": {
"vxe-pc-ui": "^4.2.43"
"vxe-pc-ui": "^4.2.44"
},
"devDependencies": {
"@types/resize-observer-browser": "^0.1.11",
Expand Down
4 changes: 2 additions & 2 deletions packages/table/src/cell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function renderCellDragIcon (params: VxeTableDefines.CellRenderBodyParams) {
const { $table } = params
const { computeDragOpts } = $table.getComputeMaps()
const dragOpts = computeDragOpts.value
const { rowDisabledMethod } = dragOpts
const { rowIcon, rowDisabledMethod } = dragOpts
const isDisabled = rowDisabledMethod && rowDisabledMethod(params)
return h('span', {
key: 'dg',
Expand All @@ -65,7 +65,7 @@ function renderCellDragIcon (params: VxeTableDefines.CellRenderBodyParams) {
onMouseup: $table.handleCellDragMouseupEvent
}, [
h('i', {
class: 'vxe-table-icon-drag-handle'
class: rowIcon || getIcon().TABLE_DRAG_ROW
})
])
}
Expand Down
1 change: 1 addition & 0 deletions packages/ui/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ VxeUI.setIcon({
TABLE_RADIO_UNCHECKED: iconPrefix + 'radio-unchecked',
TABLE_CUSTOM_SORT: iconPrefix + 'drag-handle',
TABLE_MENU_OPTIONS: iconPrefix + 'arrow-right',
TABLE_DRAG_ROW: iconPrefix + 'drag-handle',

// toolbar
TOOLBAR_TOOLS_REFRESH: iconPrefix + 'repeat',
Expand Down

0 comments on commit a69fb2d

Please sign in to comment.