From 5f3691d51a27282dd737376ac8227bf371d7c811 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 11 四月 2025 14:01:13 +0800 Subject: [PATCH] 测试完成 --- src/views/knowledge/questionbank/particulars/index.vue | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/knowledge/questionbank/particulars/index.vue b/src/views/knowledge/questionbank/particulars/index.vue index 5c2f1a2..a630d00 100644 --- a/src/views/knowledge/questionbank/particulars/index.vue +++ b/src/views/knowledge/questionbank/particulars/index.vue @@ -868,13 +868,14 @@ // 鑾峰彇鏁版嵁 getissueinfo() { this.id = this.$route.query.id; - if (this.$route.query.categoryid) { - this.topicobj.categoryid = Number(this.$route.query.categoryid); - } + // 鍒嗙被 getissueclassify({}).then((res) => { this.classifylist = res.rows; + if (this.$route.query.categoryid) { + this.topicobj.categoryid = Number(this.$route.query.categoryid); + } }); if (!this.id) { return; @@ -982,7 +983,7 @@ let scorearr = this.topicobj.svyLibScriptOptions; let isValid = scorearr.every((score, index) => { if (this.topicobj.scriptType == 1) { - if (score.score) { + if (score.score||score.score==0) { if ( Number(score.score) < 0 || Number(score.score) > Number(this.topicobj.score) -- Gitblit v1.9.3