From 7a314663ca9c1c4d1af965659f355e97a5524696 Mon Sep 17 00:00:00 2001 From: hly <2783385703@qq.com> Date: Tue, 19 Aug 2025 11:43:34 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=80=83=E8=AF=95):=20=E5=AE=9E=E7=8E=B0?= =?UTF-8?q?=E7=AD=94=E9=A2=98=E6=9C=AC=E5=9C=B0=E5=AD=98=E5=82=A8=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增examStorage工具类用于保存、获取和清除答题数据 - 在考试页面和组件中集成本地存储功能,实现答案自动保存和回显 - 添加本地存储功能测试文件 - 修改二维码图片显示逻辑,优先使用配置中的图片 --- .../authentication/components/questionCard.vue | 50 +++++++++-- otherPages/authentication/examination/base.vue | 14 ++++ otherPages/authentication/examination/train.vue | 12 +++ otherPages/orderTakingManage/detail/index.vue | 4 +- utils/examStorage.js | 98 ++++++++++++++++++++++ 5 files changed, 172 insertions(+), 6 deletions(-) create mode 100644 utils/examStorage.js diff --git a/otherPages/authentication/components/questionCard.vue b/otherPages/authentication/components/questionCard.vue index a35da54..775e555 100644 --- a/otherPages/authentication/components/questionCard.vue +++ b/otherPages/authentication/components/questionCard.vue @@ -22,7 +22,7 @@ @@ -69,7 +69,8 @@