😎增加vxetable配置修改延迟刷新

This commit is contained in:
zuohuaijun 2025-01-18 13:58:45 +08:00
parent af81da7b72
commit b735a52647
2 changed files with 4 additions and 1 deletions

View File

@ -85,7 +85,7 @@
"@iconify/vue": "^4.3.0",
"@plugin-web-update-notification/vite": "^2.0.0",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.17.12",
"@types/node": "^20.17.14",
"@types/nprogress": "^0.2.3",
"@types/sortablejs": "^1.15.8",
"@typescript-eslint/eslint-plugin": "^8.20.0",

View File

@ -71,6 +71,9 @@ export const setupVXETable = (app: App) => {
resizable: true, // 启用列宽状态
},
},
resizeConfig: {
refreshDelay: 300, // 配置项调整后刷新延迟时间
},
scrollX: {
enabled: true, // 是否默认开启横向虚拟滚动
gt: 30, // 指定大于指定列时自动启动横向虚拟滚动