提交 a203882a authored 作者: pengxiaohui's avatar pengxiaohui

fix: 修复地区选择只有两级时筛选bug

上级 9ee30280
...@@ -70,7 +70,7 @@ export default { ...@@ -70,7 +70,7 @@ export default {
short_name: '', short_name: '',
source: '', source: '',
type: '', type: '',
region: '', region: [],
address: '', address: '',
remark: '' remark: ''
}, },
......
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
short_name: '', short_name: '',
source: '', source: '',
type: '', type: '',
region: '', region: [],
created_by: '', created_by: '',
project_tag: '', project_tag: '',
project_status: '', project_status: '',
...@@ -255,7 +255,7 @@ export default { ...@@ -255,7 +255,7 @@ export default {
_params.last_record_end_time = params.follow_date[1] _params.last_record_end_time = params.follow_date[1]
} }
if (params.region) { if (params.region) {
if (params.region.length === 3) { if (params.region.length >= 1) {
_params.region = _params.region.join('-') _params.region = _params.region.join('-')
} else { } else {
delete _params.region delete _params.region
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论