字典:后台重载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 -1
View File
@@ -22,7 +22,8 @@ export interface DicHeroScroll {
export const dicHeroScroll = new Map<string, DicHeroScroll>();
export const preHeroScroll = new Map<number, DicHeroScroll>(); // 前一个
export function loadHeroScroll() {
dicHeroScroll.clear();
preHeroScroll.clear();
let arr = readFileAndParse(FILENAME.DIC_HERO_SCROLL);
let pre: DicHeroScroll;