提交 ee625d38 编写于 作者: jingqi.liu's avatar jingqi.liu

修改提示

上级 ea0776fd
......@@ -50,7 +50,11 @@
:has-tips="hasTips"
:has-down.sync="item.hasDown"
:has-stock="false"
@goUse="chooseCoupon"
@goUse="
(item) => {
chooseCoupon(item, index);
}
"
/>
</van-list>
<div v-else>
......@@ -189,7 +193,7 @@ export default {
this.refreshing = false;
});
},
chooseCoupon(item) {
chooseCoupon(item, index) {
switch (item.couponStatus) {
case 0:
this.POST(
......@@ -207,7 +211,7 @@ export default {
// }
})
.catch((err) => {
item.hasDown = false;
this.$set(this.couponList[index], "hasDown", false);
this.$toast(err.message);
console.log("err", err);
});
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册