📅  最后修改于: 2022-03-11 15:02:00.593000             🧑  作者: Mango
import {createBracket,insertScore} from 'react-tournament-ready'
const teams = [
{
name:"",
id:""
}
]
const newBracket = createBracket(teams)
const modifiedBracket = insertScore(teams[0],{score: 12},newBracket)