提交 2632e0c7 编写于 作者: Yuanzhao.dai's avatar Yuanzhao.dai

修复未拆红包的时候,先点击再拆红包

上级 4c2a9fbd
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
class="main-bg" class="main-bg"
src="~/assets/carve-up/main-bg.png" src="~/assets/carve-up/main-bg.png"
v-bp="{ component_tag: '363#360013'}" v-bp="{ component_tag: '363#360013'}"
@click="openBag"
> >
<img <img
class="cancel" class="cancel"
...@@ -117,6 +118,9 @@ ...@@ -117,6 +118,9 @@
} }
] ]
}); });
},
openBag() {
this.$emit('openBag')
} }
} }
} }
......
...@@ -82,6 +82,7 @@ ...@@ -82,6 +82,7 @@
:hasQualification="hasQualification" :hasQualification="hasQualification"
:beanCarveCount="beanCarveCount" :beanCarveCount="beanCarveCount"
:unableReason="unableReason" :unableReason="unableReason"
@openBag="getCarveStatus"
> >
</carve-up> </carve-up>
<!--瓜分云鹊豆模块 ————end--> <!--瓜分云鹊豆模块 ————end-->
...@@ -421,7 +422,6 @@ export default { ...@@ -421,7 +422,6 @@ export default {
}).then(res => { }).then(res => {
if(res.data.status == 2) { //红包未拆 if(res.data.status == 2) { //红包未拆
this.isFirstCarve = true; this.isFirstCarve = true;
this.getCarveStatus(); //去拆红包
} else { } else {
this.isFirstCarve = false; this.isFirstCarve = false;
if(res.data.status == 3) { if(res.data.status == 3) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册