liuyu
21 小时以前 93c133349a5ccd7a328371fa113dce69d5611f21
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;
}