This commit is contained in:
Mrx
2026-04-01 12:48:32 +08:00
parent 5a36e27370
commit c9152c72fa

View File

@@ -121,7 +121,7 @@ export function useColumns(): VxeTableGridOptions['columns'] {
formatter: ({ cellValue }: { cellValue: string }) => {
if (!cellValue) return '-';
// 只显示前6位和后4位中间用*代替
return `${cellValue.slice(0, 6)}${'*'.repeat(8)}${cellValue.slice(-4)}`;
return cellValue;
},
},
{