Compare commits
No commits in common. "6f6ceda684421a4f81e7560da19ea467c3f8c23c" and "20c1ce7a426e43a0fdb516731eeaa61656829f99" have entirely different histories.
6f6ceda684
...
20c1ce7a42
|
@ -86,7 +86,7 @@
|
|||
|
||||
const change = () => {
|
||||
if (+datas.value.cart_num < +datas.value.batch) return uni.$u.toast(
|
||||
`购买数量不能小于${datas.value.batch}${datas.value.unit_name}`);
|
||||
`购买数量不能小于${datas.value.cart_num}${datas.value.unit_name}`);
|
||||
if (subtotal.value <= 0) {
|
||||
uni.$u.toast('金额不可小于等于0');
|
||||
datas.value.cart_num = '';
|
||||
|
|
Loading…
Reference in New Issue