Compare commits

...

2 Commits

Author SHA1 Message Date
weipengfei 6f6ceda684 Merge branch 'master' of https://gitea.lihaink.cn/weipengfei/purchase-let 2024-06-18 11:36:53 +08:00
weipengfei bdf4b08ef2 更新 2024-06-18 11:36:47 +08:00
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 = '';