update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-07-15 22:23:10 +08:00
parent b652fe3969
commit 154c1e841c

View File

@@ -362,7 +362,6 @@ const getWin = async () => {
await getRecord();
const res = await GetIsWin(uid.value);
if (res.number > 0) {
console.log(res.number);
lottieFn(1, res.number);
}
};
@@ -797,6 +796,17 @@ const submit = async () => {
});
return;
}
if (
formData.value.betIndexs.length * formData.value.value >
user.value.pulse
) {
Taro.showToast({
title: "超出可用豆子",
icon: "none",
});
formData.value.value = "";
return;
}
const arr = [];
betList.value.forEach((item) => {
formData.value.betIndexs.forEach((i) => {