1.新增获取充值/提现配置接口/api/finance/depositWithdrawConfig
2.优化充值和提现方式
This commit is contained in:
@@ -248,7 +248,7 @@ const voidReason = ref('')
|
||||
const voidSubmitting = ref(false)
|
||||
const manualNumber = ref<number | null>(1)
|
||||
const calcResultNumber = ref<number | null>(null)
|
||||
const calcEstimatedLoss = ref<string>('0.0000')
|
||||
const calcEstimatedLoss = ref<string>('0.00')
|
||||
|
||||
/** 服务端 Unix 秒 − 本地 Unix 秒,用于派彩倒计时与服务器对齐 */
|
||||
const serverSkewSeconds = ref(0)
|
||||
@@ -487,7 +487,7 @@ async function onCalculate() {
|
||||
snapshot.candidate_numbers = res.data.candidate_numbers || []
|
||||
snapshot.ai_default_number = res.data.ai_default_number ?? null
|
||||
calcResultNumber.value = res.data.final_number ?? null
|
||||
calcEstimatedLoss.value = String(res.data.final_estimated_loss ?? '0.0000')
|
||||
calcEstimatedLoss.value = String(res.data.final_estimated_loss ?? '0.00')
|
||||
}
|
||||
} finally {
|
||||
calcLoading.value = false
|
||||
|
||||
@@ -35,7 +35,7 @@ const formatCoin = (_row: any, _column: any, cellValue: number | string | null |
|
||||
if (cellValue === null || cellValue === undefined || cellValue === '') return '—'
|
||||
const n = Number(cellValue)
|
||||
if (Number.isNaN(n)) return '—'
|
||||
return n.toFixed(4)
|
||||
return n.toFixed(2)
|
||||
}
|
||||
|
||||
const baTable = new baTableClass(
|
||||
|
||||
Reference in New Issue
Block a user