From b2e2fe7ccbadf6d833226357c4067cb0e4d4bf46 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 5 Oct 2025 19:52:54 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E3=80=90ele=E3=80=91=E3=80=90?= =?UTF-8?q?=E6=A1=86=E6=9E=B6=E3=80=91=E8=B0=83=E6=95=B4=20CellSwitch?= =?UTF-8?q?=EF=BC=8C=E4=BD=BF=E7=94=A8=20inlinePrompt=20=E5=86=85=E5=B5=8C?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-ele/src/adapter/vxe-table.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web-ele/src/adapter/vxe-table.ts b/apps/web-ele/src/adapter/vxe-table.ts index e201d520b..8dd26b32b 100644 --- a/apps/web-ele/src/adapter/vxe-table.ts +++ b/apps/web-ele/src/adapter/vxe-table.ts @@ -152,9 +152,9 @@ setupVbenVxeTable({ renderTableDefault({ attrs, props }, { column, row }) { const loadingKey = `__loading_${column.field}`; const finallyProps = { - // 注释 by 芋艿:如果添加了 activeText、inactiveText 属性,会默认展示对应的文案。注释后,和 antd 保持一致 - // activeText: $t('common.enabled'), - // inactiveText: $t('common.disabled'), + inlinePrompt: true, + activeText: $t('common.enabled'), + inactiveText: $t('common.disabled'), activeValue: 1, inactiveValue: 0, ...props,