From 17a39dd1cab20bcd81712a2bcff30b5a33bba233 Mon Sep 17 00:00:00 2001 From: Shawn <45581750+KOP-XIAO@users.noreply.github.com> Date: Tue, 22 Dec 2020 18:48:26 +0800 Subject: [PATCH] update --- .DS_Store | Bin 12292 -> 12292 bytes Scripts/resource-parser.js | 6 +++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.DS_Store b/.DS_Store index 0bba6834bcec563c5dc5bd00790af0340335fbcb..de93ed43b98b40cdff06da1a3e09c76ac57949c9 100644 GIT binary patch delta 27 icmZokXi3") regj = strlist.map(item => RegExp(item, "i")) + //dir = PsortX dir = strs.indexOf("<") != -1 ? -1:1 var arr = new Array(strlist.length+1); //表格有n行 for(var i = 0;i < arr.length; i++){ @@ -1272,6 +1274,8 @@ function Sort_KWD (cnt,strs) { arr[strlist.length].push(cnt[i]) } // 不匹配项 } //console.log(arr) + arr = PsortX == -1? arr.map(item => item.sort(ToTagR)):arr + arr = PsortX == 1? arr.map(item => item.sort(ToTag)):arr newarr = MixArr(arr,dir) return newarr }