From 423f584474833a454433861efa292ad2d79e506c Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 28 Jun 2024 10:26:00 +0800 Subject: [PATCH] bug --- src/project/fengdu/AppStore/EvaluateForm.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/project/fengdu/AppStore/EvaluateForm.vue b/src/project/fengdu/AppStore/EvaluateForm.vue index abcea0d..a005e7f 100644 --- a/src/project/fengdu/AppStore/EvaluateForm.vue +++ b/src/project/fengdu/AppStore/EvaluateForm.vue @@ -149,6 +149,21 @@ export default { this.negativeTypeList[index].status = val }, add() { + var isStatus = true + this.positiveTypeList.map((item) => { + if(item.status == null) { + isStatus = false + } + }) + this.negativeTypeList.map((item) => { + if(item.status == null) { + isStatus = false + } + }) + + if(!isStatus) { + return this.$u.toast('请填写评价清单中所有项内容') + } if(!this.form.remark) { return this.$u.toast('请填写评语') }