Commit 9c863162 authored by 李尚科's avatar 李尚科

house v2 fix

parent 8a009b65
Pipeline #9861 passed with stage
in 23 seconds
......@@ -261,7 +261,7 @@ class ToolController extends Controller {
const city = city_list[i];
const children = districts.filter(item => { return (parseInt(item.city_id) === parseInt(city.code)) ? true : false });
city._children = children.map(item => { return { id: item.id, name: item.name, code: item.id } });
city._children.unshift({ id: -1, name: '全部', code: 0 });
// city._children.unshift({ id: -1, name: '全部', code: 0 });
results.push(city);
}
......
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