Commit 7150fc83 authored by 张伯涛's avatar 张伯涛

参数修改

parent b4b3ced7
......@@ -132,11 +132,7 @@ import USwiper from "../../uview-ui/components/u-swiper/u-swiper.vue";
onShow(){
console.log('this.vuex_unit',this.vuex_unit)
if(this.vuex_unit && this.vuex_unit.length > 0) {
if(this.vuex_unit[0].businessId === null) {
this.unitId = ''
}else {
this.unitId = this.vuex_unit[0].businessId
}
}else {
this.unitId = ''
}
......
......@@ -70,11 +70,7 @@ export default {
'nomore' : 'loadmore'
this.unitList = this.vuex_unit
if(this.unitList && this.unitList.length >0) {
if(this.unitList[0].businessId === null) {
this.unitId = ''
}else {
this.unitId = this.unitList[0].businessId
}
}else {
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