Skip to content

Commit

Permalink
Merge pull request #2717 from ming4762/vxe-table-zhongming4762
Browse files Browse the repository at this point in the history
fix(custom-config): 修复拖动列宽,custom panel重置按钮无法点击的问题
  • Loading branch information
xuliangzhan authored Jan 2, 2025
2 parents 37de1aa + a91d725 commit 654e84f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/table/src/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6484,6 +6484,10 @@ export default defineComponent({
const isCustomVisible = isAllCustom || storageOpts.visible
const isCustomFixed = isAllCustom || storageOpts.fixed
const isCustomSort = isAllCustom || storageOpts.sort
if (type !== 'reset') {
// fix:修复拖动列宽,重置按钮无法点击的问题
reactData.isCustomStatus = true
}
if ((customConfig ? isEnableConf(customOpts) : customOpts.enabled) && (isCustomResizable || isCustomVisible || isCustomFixed || isCustomSort)) {
if (!tableId) {
errLog('vxe.error.reqProp', ['id'])
Expand Down

0 comments on commit 654e84f

Please sign in to comment.