From f4e98fd2c64d3f3265f7e93bb0c6bc32429649db Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Fri, 6 Dec 2024 18:05:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=89=93=E5=8D=A1=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/renwu/components/pop-add-renwu.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/renwu/components/pop-add-renwu.vue b/src/views/renwu/components/pop-add-renwu.vue index 80cf2a7..268cc36 100644 --- a/src/views/renwu/components/pop-add-renwu.vue +++ b/src/views/renwu/components/pop-add-renwu.vue @@ -44,7 +44,7 @@ - + @@ -144,6 +144,9 @@ export default { if(!this.form.rewardDetail){ this.$message.error("请输入奖励描述"); } + if(this.form.type == 2 && this.form.number<=0){ + return this.$message.error("请输入达标次数"); + } this.submit(); }, async submit() {