...
|
...
|
@@ -32,8 +32,11 @@ Page({ |
|
|
if (+res.code === 1) {
|
|
|
const arr = [];
|
|
|
res.data.list.forEach((item) => {
|
|
|
if(item.type !== 5) {
|
|
|
arr.push(item.title)
|
|
|
}
|
|
|
});
|
|
|
// console.log('arr---cityList', arr,self.data.cityList);
|
|
|
self.setData({
|
|
|
city_picker_list: arr,
|
|
|
cityList:res.data.list,
|
...
|
...
|
|