补全提交

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(){ onShow(){
setTimeout(()=>{ setTimeout(()=>{
this.$refs.tpl.firstGetAuto(); this.$refs.tpl.fetchCoupon();
},1000) },1000)
}, },
methods: { methods: {

View File

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

View File

@ -34,7 +34,7 @@
<!-- <spike v-if="item.type == 'spike'" :res="item.options" /> --> <!-- <spike v-if="item.type == 'spike'" :res="item.options" /> -->
</div> </div>
<fetchCoupon/> <fetchCoupon ref='coupon' />
<u-no-network @retry="init" @isConnected="isConnected"></u-no-network> <u-no-network @retry="init" @isConnected="isConnected"></u-no-network>
</div> </div>
</template> </template>
@ -73,7 +73,6 @@ export default {
return { return {
config, config,
storage, storage,
coupList:[],
showCp:true, showCp:true,
pageData: "", // pageData: "", //
isIos: "", isIos: "",
@ -111,6 +110,9 @@ export default {
}, },
methods: { methods: {
fetchCoupon(){
this.$refs.coupon.firstGetAuto();
},
/** /**
* 实例化首页数据楼层 * 实例化首页数据楼层
*/ */