diff --git a/components/goodPopup.vue b/components/goodPopup.vue index 8fdbd0f..0ed3da6 100644 --- a/components/goodPopup.vue +++ b/components/goodPopup.vue @@ -86,7 +86,7 @@ const change = () => { if (+datas.value.cart_num < +datas.value.batch) return uni.$u.toast( - `购买数量不能小于${datas.value.cart_num}${datas.value.unit_name}`); + `购买数量不能小于${datas.value.batch}${datas.value.unit_name}`); if (subtotal.value <= 0) { uni.$u.toast('金额不可小于等于0'); datas.value.cart_num = '';