This commit is contained in:
weipengfei 2024-06-18 11:36:47 +08:00
parent 008ca30545
commit bdf4b08ef2
1 changed files with 1 additions and 1 deletions

View File

@ -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 = '';