Commit a005bb69 authored by 郑磊's avatar 郑磊

更新独赢支持

parent fc11e5b1
......@@ -25,6 +25,10 @@ export function oddTypeText(type: OddType) {
return '大'
case 'under':
return '小'
case 'win1':
return '主胜'
case 'win2':
return '客胜'
}
}
......@@ -38,6 +42,7 @@ export function varietyText(variety: Variety) {
}
export function conditionText(condition: string | number, type: OddType) {
if (type === 'win1' || type === 'win2' || type === 'draw') return ''
if (type === 'over' || type === 'under') {
return Number(condition).toString()
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment