diff --git a/pages/tabbar/home/index.vue b/pages/tabbar/home/index.vue
index 6d693ca..c51ed08 100644
--- a/pages/tabbar/home/index.vue
+++ b/pages/tabbar/home/index.vue
@@ -17,7 +17,7 @@ export default {
},
onShow(){
setTimeout(()=>{
- this.$refs.tpl.firstGetAuto();
+ this.$refs.tpl.fetchCoupon();
},1000)
},
methods: {
diff --git a/pages/tabbar/home/template/fetch_coupon.vue b/pages/tabbar/home/template/fetch_coupon.vue
index b2ca090..fe3d543 100644
--- a/pages/tabbar/home/template/fetch_coupon.vue
+++ b/pages/tabbar/home/template/fetch_coupon.vue
@@ -92,6 +92,7 @@ export default {
return {
storage,
enableShowCoupon: false,
+ coupList:[]
};
},
mounted() {
diff --git a/pages/tabbar/home/views.vue b/pages/tabbar/home/views.vue
index b6dc2de..0d1e700 100644
--- a/pages/tabbar/home/views.vue
+++ b/pages/tabbar/home/views.vue
@@ -34,7 +34,7 @@
-
+
@@ -73,7 +73,6 @@ export default {
return {
config,
storage,
- coupList:[],
showCp:true,
pageData: "", //楼层页面数据
isIos: "",
@@ -111,6 +110,9 @@ export default {
},
methods: {
+ fetchCoupon(){
+ this.$refs.coupon.firstGetAuto();
+ },
/**
* 实例化首页数据楼层
*/