寻宝部分假数据改为读表

This commit is contained in:
liangtongchuan
2020-11-20 23:36:34 +08:00
parent 1145d95889
commit 7d0900c321
4 changed files with 64 additions and 9 deletions
+1
View File
@@ -123,6 +123,7 @@ export function decodeArrayStr(str: string, splitForm='|') {
*/
export function decodeIdCntArrayStr(str: string, multi: number) {
const strArr = decodeArrayStr(str);
console.log('decodeIdCntArrayStr: ', strArr);
const strMap = new Map();
strArr.forEach(item => {
const kv = item.split('&');