补全提交

master
学习很差啦 2023-03-29 16:17:46 +08:00
parent e8ddc53188
commit 951d2d7f30
3 changed files with 6 additions and 3 deletions

View File

@ -17,7 +17,7 @@ export default {
},
onShow(){
setTimeout(()=>{
this.$refs.tpl.firstGetAuto();
this.$refs.tpl.fetchCoupon();
},1000)
},
methods: {

View File

@ -92,6 +92,7 @@ export default {
return {
storage,
enableShowCoupon: false,
coupList:[]
};
},
mounted() {

View File

@ -34,7 +34,7 @@
<!-- <spike v-if="item.type == 'spike'" :res="item.options" /> -->
</div>
<fetchCoupon/>
<fetchCoupon ref='coupon' />
<u-no-network @retry="init" @isConnected="isConnected"></u-no-network>
</div>
</template>
@ -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();
},
/**
* 实例化首页数据楼层
*/