json:fix数组重复加载的bug
This commit is contained in:
@@ -15,7 +15,7 @@ export interface DicPvpTeamLevel {
|
||||
|
||||
export const dicPvpTeamLevel = new Array<DicPvpTeamLevel>();
|
||||
export function loadPvpTeamLevel() {
|
||||
|
||||
dicPvpTeamLevel.splice(0, dicPvpTeamLevel.length)
|
||||
let arr = readFileAndParse(FILENAME.DIC_PVP_TEAM_LEVEL);
|
||||
|
||||
arr.forEach(o => {
|
||||
|
||||
Reference in New Issue
Block a user