- 更新 backend 平台 API endpoints 及 platform_store - 更新前端 ComputeNodesView、DataProcessCreateView、FineTuneCreateView 等组件 - 更新前端 API 模块(compute、fineTune) - 重构 frontend/dist 构建产物(新 hash) - 新增 docs/2026-07-24-work-plan.md 工作计划文档 Co-Authored-By: Claude <noreply@anthropic.com>
2 lines
483 B
JavaScript
2 lines
483 B
JavaScript
import{ae as o,y as i}from"./index-CD29OCdJ.js";import{g as f}from"./model-e1J4FzWC.js";const g=o("models",()=>{const n=i([]),a=i(!1);let t=null;async function l(e=!1){if(!(a.value&&!e))return t&&!e||(t=(async()=>{try{n.value=await f()||[],a.value=!0}catch{n.value=[]}finally{t=null}})()),t}function s(e){if(!e)return"-";const u=n.value.find(r=>r.id==e||r.id===String(e)||r.id===Number(e));return u?u.name:`模型${e}`}return{list:n,loaded:a,load:l,getModelName:s}});export{g as u};
|