hifun-tools 1.3.17 → 1.3.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/init/utils.js +3 -1
- package/package.json +1 -1
package/dist/init/utils.js
CHANGED
|
@@ -216,5 +216,7 @@ export function filterSmartLines(list1, list2, groupType, tenant) {
|
|
|
216
216
|
const lines = result.map((item) => toStandardUrl(item.line));
|
|
217
217
|
// 5. 与 list2 求交集
|
|
218
218
|
const set = new Set(lines);
|
|
219
|
-
|
|
219
|
+
console.log("list2.map(toStandardUrl)", list2.map(toStandardUrl));
|
|
220
|
+
console.log(lines, "==", set);
|
|
221
|
+
return list2.map(toStandardUrl).filter((v) => set.has(toStandardUrl(v)));
|
|
220
222
|
}
|