Commit c7ec7611 by 姜雷

修改当有区域选择时不更变区域搜索条件

parent ef685421
......@@ -119,7 +119,8 @@ const actions = {
commit(GET_EUIPMENT_DATA, list);
commit(LOADING_EQUIPMENT, false);
} else {
if (list.list && list.list.length > 5) {
if (entity && entity.choiceareaIds) {
} else if (list.list && list.list.length > 5) {
let areaList = list.list.slice(0, 5);
dispatch('updateFilters', {
choiceareaIds: areaList.map(item => item.areaId),
......
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