Commit d3ed4816 authored by 刘帅阳's avatar 刘帅阳

修改

parent 3467914f
...@@ -123,14 +123,15 @@ import USwiper from "../../uview-ui/components/u-swiper/u-swiper.vue"; ...@@ -123,14 +123,15 @@ import USwiper from "../../uview-ui/components/u-swiper/u-swiper.vue";
} }
}, },
onLoad() { onLoad() {
},
onShow(){
if(this.vuex_unit && this.vuex_unit.length > 0) { if(this.vuex_unit && this.vuex_unit.length > 0) {
this.unitId = this.vuex_unit[0].businessId this.unitId = this.vuex_unit[0].businessId
}else { }else {
this.unitId = '' this.unitId = ''
} }
},
onShow(){
this.activeNav=0; this.activeNav=0;
this.init() this.init()
}, },
......
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