Skip to content

Commit

Permalink
releases 4.7.91
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Oct 17, 2024
1 parent f702188 commit 557febf
Show file tree
Hide file tree
Showing 3 changed files with 7 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.7.90",
"version": "4.7.91",
"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.20"
"vxe-pc-ui": "^4.2.23"
},
"devDependencies": {
"@types/resize-observer-browser": "^0.1.11",
Expand Down
3 changes: 3 additions & 0 deletions packages/table/render/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,9 @@ renderer.mixin({
]
}
},
VxeRate: {
renderTableDefault: defaultEditRender
},

// 以下已废弃
$input: {
Expand Down
4 changes: 2 additions & 2 deletions packages/table/src/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2135,7 +2135,7 @@ export default defineComponent({
const checkboxOpts = computeCheckboxOpts.value
const { transform, loadMethod } = treeOpts
const { checkStrictly } = checkboxOpts
return new Promise(resolve => {
return new Promise<void>(resolve => {
if (loadMethod) {
const { treeExpandLazyLoadedMaps } = reactData
const { fullAllDataRowIdData } = internalData
Expand Down Expand Up @@ -2198,7 +2198,7 @@ export default defineComponent({
}

const handleAsyncRowExpand = (row: any): Promise<void> => {
return new Promise(resolve => {
return new Promise<void>(resolve => {
const expandOpts = computeExpandOpts.value
const { loadMethod } = expandOpts
if (loadMethod) {
Expand Down

0 comments on commit 557febf

Please sign in to comment.