From 8534025c45b4736975730678b9ccf23570a75f95 Mon Sep 17 00:00:00 2001
From: liuyu <yu.liu@cqgbkj.com>
Date: 星期二, 22 九月 2026 09:25:48 +0800
Subject: [PATCH] feat(tms): 新增试卷、培训任务、个人任务页面

---
 apps/jnpf-web-apps-main/src/views/x/tms/trainMode/mock.ts |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/apps/jnpf-web-apps-main/src/views/x/tms/trainMode/mock.ts b/apps/jnpf-web-apps-main/src/views/x/tms/trainMode/mock.ts
index 13e7c0b..7728b0f 100644
--- a/apps/jnpf-web-apps-main/src/views/x/tms/trainMode/mock.ts
+++ b/apps/jnpf-web-apps-main/src/views/x/tms/trainMode/mock.ts
@@ -111,6 +111,7 @@
   await delay(null);
   const idx = store.findIndex((x) => x.id === id);
   if (idx < 0) throw new Error('鍩硅鏂瑰紡涓嶅瓨鍦�');
+  if (store[idx]!.enabled !== '0') throw new Error('璇峰厛鍋滅敤鍚庡啀鍒犻櫎');
   store.splice(idx, 1);
   return true;
 }

--
Gitblit v1.8.0