diff --git a/src/components/withdraw/Withdraw.vue b/src/components/withdraw/Withdraw.vue index 7a742a9..9739ef7 100644 --- a/src/components/withdraw/Withdraw.vue +++ b/src/components/withdraw/Withdraw.vue @@ -19,6 +19,10 @@ const formData = reactive({ password_withdraw: "", }); +const clickAll = () => { + formData.amount = userInfo.value.money ?? 0 +} + const submit = () => { if (isNaN(formData.amount) || formData.amount <= 0) { return showFailToast("Vui lòng điền số điểm chính xác."); @@ -73,7 +77,7 @@ const submit = () => { - Tất cả + Tất cả
@@ -104,7 +108,7 @@ const submit = () => {
- VND:1000Đ + VND:{{ formatNumber(userInfo.money) }}Đ