[improvement] optimize coupon text (#1934)

This commit is contained in:
neverland
2018-10-16 15:57:23 +08:00
committed by GitHub
parent b8fa4d901f
commit cb793b3671
8 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -382,7 +382,7 @@ export default create({
} else if (action === 'plus') {
if (limitType === QUOTA_LIMIT) {
let msg = `限购${quota}`;
if (quotaUsed > 0) msg += `${`已购买${quotaUsed}`}`;
if (quotaUsed > 0) msg += `${`已购买${quotaUsed}`}`;
Toast(msg);
} else {
Toast('库存不足');