fix: 新增代理系列授权-建议售价使用套餐
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m38s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m38s
This commit is contained in:
@@ -256,15 +256,12 @@ export function formatDateTime(
|
||||
}
|
||||
}
|
||||
|
||||
const parsedDate = new Date(
|
||||
typeof date === 'number' ? normalizeTimestamp(date) : date
|
||||
)
|
||||
const parsedDate = new Date(typeof date === 'number' ? normalizeTimestamp(date) : date)
|
||||
if (Number.isNaN(parsedDate.getTime())) return '-'
|
||||
|
||||
return formatDateTimeParts(getUtcDateTimeParts(parsedDate), format)
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 格式化费率(基点 -> 百分比)
|
||||
* @param basisPoints 费率基点(100基点=1%)
|
||||
|
||||
@@ -56,9 +56,6 @@ export const isMaskedPaymentConfigValue = (value: string | undefined | null): bo
|
||||
if (!value) return false
|
||||
|
||||
return (
|
||||
value === '***' ||
|
||||
value.includes('已配置') ||
|
||||
value.includes('未配置') ||
|
||||
/\*{2,}/.test(value)
|
||||
value === '***' || value.includes('已配置') || value.includes('未配置') || /\*{2,}/.test(value)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user