杜函宇 2 years ago
commit a82810caae

@ -12,7 +12,6 @@ export function filterTown(ids) {
} }
function filterNames(data, targetIds, results) { function filterNames(data, targetIds, results) {
// console.log(data, "1", targetIds, "2", results, "3");
data.forEach((node, index) => { data.forEach((node, index) => {
if (targetIds.includes(node.id)) { if (targetIds.includes(node.id)) {
results.push(node.label); results.push(node.label);

Loading…
Cancel
Save