字典:后台重载bug

This commit is contained in:
luying
2021-10-15 18:16:05 +08:00
parent 70a3d719b0
commit abce31b539
73 changed files with 138 additions and 57 deletions
+2
View File
@@ -24,6 +24,8 @@ const DicApKeys: KeysEnum<DicAp> = {
export const dicApMaxLevel = { max: 0 };
export const dicAp = new Map<number, DicAp>();
export function loadAp() {
dicApMaxLevel.max = 0;
dicAp.clear();
let arr = readFileAndParse(FILENAME.DIC_AP);
arr.forEach(o => {
o.maxAp = o.maxAP;