From 1489ca4f57a2f1255bd72576ee771a7aa231be06 Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 20 May 2022 15:06:55 +0800 Subject: [PATCH] BUG 29704 --- src/apps/AppCreditPoints/giveIntegral.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/AppCreditPoints/giveIntegral.vue b/src/apps/AppCreditPoints/giveIntegral.vue index deaef0ed..71c5c744 100644 --- a/src/apps/AppCreditPoints/giveIntegral.vue +++ b/src/apps/AppCreditPoints/giveIntegral.vue @@ -57,7 +57,7 @@ export default { if (!userId) { return this.$u.toast("请选择人员") } - if (!integral) { + if (isNaN(integral)) { return this.$u.toast("请输入赠送分值") } this.$http.post("/admin/user/giveIntegral", null, {