feat(Sku): add stockThreshold prop (#4444)

This commit is contained in:
codpoe
2019-09-12 17:56:17 +08:00
committed by neverland
parent 927bf464bf
commit 54353f4210
5 changed files with 20 additions and 4 deletions
+2 -1
View File
@@ -12,7 +12,8 @@ export default {
originPrice: '原价',
minusTip: '至少选择一件',
unavailable: '商品已经无法购买啦',
stock: (stock: number) => `剩余 ${stock}`,
stock: '剩余',
stockUnit: '件',
quotaLimit: (quota: number) => `每人限购${quota}`,
quotaCount: (count: number) => `你已购买${count}`
},