f
This commit is contained in:
@@ -121,7 +121,7 @@ export function useColumns(): VxeTableGridOptions['columns'] {
|
|||||||
formatter: ({ cellValue }: { cellValue: string }) => {
|
formatter: ({ cellValue }: { cellValue: string }) => {
|
||||||
if (!cellValue) return '-';
|
if (!cellValue) return '-';
|
||||||
// 只显示前6位和后4位,中间用*代替
|
// 只显示前6位和后4位,中间用*代替
|
||||||
return `${cellValue.slice(0, 6)}${'*'.repeat(8)}${cellValue.slice(-4)}`;
|
return cellValue;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user