Commit 03824a46 authored by 张娇(东信)'s avatar 张娇(东信)

乡村旅居筛选

parent a8b43f6e
......@@ -282,17 +282,17 @@ const placeParams = (item) => {
const screenParams = (selectedItems, type) => {
console.log(selectedItems, type, 111);
if (type === 'screen') {
const ids = selectedItems.map((i) => i.tripCity);
const ids = selectedItems.map((i) => i.tripCityId);
const arr = ids.join(',');
startCityList.value = arr.split(',').map(String);
getProd();
} else if (type === 'serve') {
const ids = selectedItems.map((i) => i.labelName);
const ids = selectedItems.map((i) => i.labelId);
const arr = ids.join(',');
serviceList.value = arr.split(',').map(String);
getProd();
} else if (type === 'people') {
const ids = selectedItems.map((i) => i.labelName);
const ids = selectedItems.map((i) => i.labelId);
const arr = ids.join(',');
forPeopleList.value = arr.split(',').map(String);
getProd();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment