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