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

首页一进入页面的接口调用问题修改

parent 05ed80b9
...@@ -128,10 +128,11 @@ import USwiper from "../../uview-ui/components/u-swiper/u-swiper.vue"; ...@@ -128,10 +128,11 @@ import USwiper from "../../uview-ui/components/u-swiper/u-swiper.vue";
}else { }else {
this.unitId = '' this.unitId = ''
} }
this.init()
}, },
onShow(){ onShow(){
this.activeNav=0; this.activeNav=0;
this.init()
}, },
methods: { methods: {
init() { 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