feat: 参数配置刷新无法正常打开,导入白名单字段格式转换

This commit is contained in:
TsMask
2025-07-21 15:40:30 +08:00
parent fb20e40e67
commit b5b9e763aa
2 changed files with 19 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ export default function useArrayImport({
itemKey: 'imeiPrefixValue',
item: (row: Record<string, any>) => {
return {
imeiPrefixValue: row['IMEI Prefix'],
imeiPrefixValue: `${row['IMEI Prefix']}`,
index: 0,
};
},
@@ -36,8 +36,8 @@ export default function useArrayImport({
itemKey: 'imsiValue',
item: (row: Record<string, any>) => {
return {
imsiValue: row['IMSI Value'],
imeiValue: row['IMEI Value/Prefix'],
imsiValue: `${row['IMSI Value']}`,
imeiValue: `${row['IMEI Value/Prefix']}`,
index: 0,
};
},
@@ -50,7 +50,7 @@ export default function useArrayImport({
itemKey: 'imei',
item: (row: Record<string, any>) => {
return {
imei: row['IMEI'],
imei: `${row['IMEI']}`,
index: 0,
};
},