Commit ad1b5d28 authored by 张伯涛's avatar 张伯涛

接口参数修改

parent 95164966
...@@ -97,7 +97,11 @@ ...@@ -97,7 +97,11 @@
'nomore' : 'loadmore' 'nomore' : 'loadmore'
this.unitList = this.vuex_unit this.unitList = this.vuex_unit
if(this.unitList && this.unitList.length >0) { if(this.unitList && this.unitList.length >0) {
this.unitId = this.unitList[0].businessId if(this.unitList[0].businessId === null) {
this.unitId = ''
}else {
this.unitId = this.unitList[0].businessId
}
this.userId = this.unitList[0].userId this.userId = this.unitList[0].userId
}else { }else {
this.unitId = '' this.unitId = ''
......
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