|
@@ -170,12 +170,12 @@ if (localStorage.getItem('Economize')) {
|
|
} else
|
|
} else
|
|
getEconomize({
|
|
getEconomize({
|
|
data: {
|
|
data: {
|
|
- key: 'b264662362c25150a1e6612013a7b921',
|
|
|
|
- keywords: '中国',
|
|
|
|
- subdistrict: 2,
|
|
|
|
|
|
+ // key: 'b264662362c25150a1e6612013a7b921',
|
|
|
|
+ // keywords: '中国',
|
|
|
|
+ // subdistrict: 2,
|
|
},
|
|
},
|
|
}).then(r => {
|
|
}).then(r => {
|
|
- const list = r.districts[0].districts || [];
|
|
|
|
|
|
+ const list = r || [];
|
|
for (let i = 0; i < list.length; i++) {
|
|
for (let i = 0; i < list.length; i++) {
|
|
const v = list[i];
|
|
const v = list[i];
|
|
const city = [
|
|
const city = [
|