From 654db8151dbfb2114acfd0654242d035a4c3de70 Mon Sep 17 00:00:00 2001 From: shizhongming Date: Thu, 2 Jan 2025 11:39:47 +0800 Subject: [PATCH] =?UTF-8?q?fix(custom-config):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=8B=96=E5=8A=A8=E5=88=97=E5=AE=BD=EF=BC=8Ccustom=20panel?= =?UTF-8?q?=E9=87=8D=E7=BD=AE=E6=8C=89=E9=92=AE=E6=97=A0=E6=B3=95=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/table/src/table.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/table/src/table.ts b/packages/table/src/table.ts index 2823284456..4fd608c42e 100644 --- a/packages/table/src/table.ts +++ b/packages/table/src/table.ts @@ -6486,6 +6486,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'])