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