提交 e02aa345 编写于 作者: guangjun.yang's avatar guangjun.yang

领取接口提示问题

上级 9e001aa2
...@@ -142,6 +142,7 @@ export default { ...@@ -142,6 +142,7 @@ export default {
this.POST(`trade/coupon/app/receive/${couponId}`, {}).then( this.POST(`trade/coupon/app/receive/${couponId}`, {}).then(
({ code, data }) => { ({ code, data }) => {
if (code == "000000") { if (code == "000000") {
console.log("data.description", data.description);
data.description && Toast(data.description); data.description && Toast(data.description);
this.searchCoupons(); this.searchCoupons();
} }
...@@ -176,7 +177,7 @@ export default { ...@@ -176,7 +177,7 @@ export default {
this.POST(`trade/coupon/app/receive/${couponId}`, {}).then( this.POST(`trade/coupon/app/receive/${couponId}`, {}).then(
({ code, data }) => { ({ code, data }) => {
if (code == "000000") { if (code == "000000") {
Toast(data.description); data.description && Toast(data.description);
} }
this.searchCoupons(); this.searchCoupons();
} }
......
<template> <template>
<div class="goods-details-wrapper" :class="{'no-pt': !isWeb}"> <div class="goods-details-wrapper" :class="{'no-pt': isWeb}">
<CommonNavbar <CommonNavbar
id="header" id="header"
:isWeb="!isWeb" :isWeb="isWeb"
:bgColor="bgColor" :bgColor="bgColor"
v-show="isShowNavbar" v-show="isShowNavbar"
:isBlack="isBlack" :isBlack="isBlack"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册