金额使用整数, 不再扣押金, 价格每个人看到自己的-1
This commit is contained in:
@@ -13,7 +13,7 @@ export const dailyLossOptions = [10, 20, 30, 40, 50]
|
||||
export const commonOnlineTimes = ['00:00', '08:00', '10:00', '12:00', '14:00', '18:00', '20:00', '22:00', '23:59']
|
||||
|
||||
export function roundMoney(value: number) {
|
||||
return Math.round(value * 100) / 100
|
||||
return Math.round(value)
|
||||
}
|
||||
|
||||
export function roundRatio(value: number) {
|
||||
|
||||
Reference in New Issue
Block a user