From 34f53c3ca69833ddf0649700d26da9ed91c5f1c3 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期一, 01 七月 2024 17:30:06 +0800
Subject: [PATCH] 题库组件优化

---
 src/views/examination/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/examination/index.vue b/src/views/examination/index.vue
index d54014d..861ab52 100644
--- a/src/views/examination/index.vue
+++ b/src/views/examination/index.vue
@@ -1345,7 +1345,7 @@
       keys: [props.info.id]
     })
     .then((res:any) => {
-      if(res) {
+      if(res.length) {
         data = JSON.parse(res[0].value)
       }
     })

--
Gitblit v1.9.1