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; }