fix(distribution): 修复分销结账退款分成计算逻辑与利润统计,优化分销订单表格列宽与展示体验
This commit is contained in:
@@ -72,7 +72,17 @@ const TX_OPTIONS = [
|
||||
|
||||
function formatGameName(name?: string) {
|
||||
if (!name) return '默认游戏'
|
||||
if (name === 'delta_force') return '三角洲行动'
|
||||
const lower = name.toLowerCase().trim()
|
||||
if (
|
||||
lower === 'delta_force' ||
|
||||
lower === 'deltaforce' ||
|
||||
lower === 'delta' ||
|
||||
lower.includes('delta_force') ||
|
||||
lower.includes('delta') ||
|
||||
name.includes('三角洲')
|
||||
) {
|
||||
return '三角洲'
|
||||
}
|
||||
return name
|
||||
}
|
||||
|
||||
@@ -882,7 +892,7 @@ export default function Accounts() {
|
||||
width={580}
|
||||
destroyOnClose
|
||||
>
|
||||
<Space direction="vertical" style={{ orientation: 'vertical', width: '100%', padding: '8px 0' }} size="middle">
|
||||
<Space direction="vertical" style={{ width: '100%', padding: '8px 0' }} size="middle">
|
||||
<Alert
|
||||
type="success"
|
||||
showIcon
|
||||
|
||||
Reference in New Issue
Block a user