This commit is contained in:
parent
008ca30545
commit
bdf4b08ef2
|
@ -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 = '';
|
||||
|
|
Loading…
Reference in New Issue