feat: 接通模特三视图生成

This commit is contained in:
hh
2026-07-13 11:22:37 +08:00
parent fc0f0ca370
commit 6a37d2e9df
5 changed files with 118 additions and 7 deletions
+6 -1
View File
@@ -833,7 +833,12 @@ export function App() {
</div>
);
case "models":
return <ModelsPage onNotify={(type, text) => setNotice({ type, text })} />;
return (
<ModelsPage
onNotify={(type, text) => setNotice({ type, text })}
onBillingChanged={() => { api.billingSummary().then((summary) => setBilling(summary)).catch(() => {}); }}
/>
);
case "library":
return <LibraryPage onUpload={(formData) => action(() => api.uploadAsset(formData), "资产已上传")} onDelete={(id) => action(() => api.deleteAsset(id), "资产已删除")} />;
case "trash":