UNPKG

press-plus

Version:
7 lines (5 loc) 208 B
// 处理当前轮次 export function getCurTab(scheInfo: Record<string, any> = {}) { const roundInfo = scheInfo?.tree_round?.round_info || {}; return roundInfo.round_id ? roundInfo.round_id - 1 : 0; }