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

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

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