Commit b3778e7a by 李伟康

commit

1 parent b72b9db8
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
:list="tabList" :list="tabList"
@change="change" @change="change"
:index="tabIndex" :index="tabIndex"
:update="update"
sticky sticky
></tab> ></tab>
<template v-if="flag"> <template v-if="flag">
...@@ -81,7 +82,8 @@ export default { ...@@ -81,7 +82,8 @@ export default {
mixins: [shareMixin, pageMixin, discountTypeMixin], mixins: [shareMixin, pageMixin, discountTypeMixin],
data() { data() {
return { return {
tabList tabList,
update:new Date().getTime()
} }
}, },
mounted() {}, mounted() {},
...@@ -93,6 +95,7 @@ export default { ...@@ -93,6 +95,7 @@ export default {
console.log('精品礼券', res) console.log('精品礼券', res)
if (res.total == 0) { if (res.total == 0) {
this.showLoading() this.showLoading()
this.update = new Date().getTime()
this.tabList = ['商城优惠券'] this.tabList = ['商城优惠券']
this.getList_1(pageNum) this.getList_1(pageNum)
return return
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!