This commit is contained in:
2025-03-04 22:57:46 +08:00
parent fd3288cb5b
commit 4a04a432ca
39 changed files with 1062 additions and 671 deletions

View File

@@ -28,6 +28,7 @@ export const queryAI = useContextKey<QueryAI>('queryAI', () => {
return new QueryAI();
});
export const rootEl = document.getElementById('root') as HTMLElement;
export const initAIAppRootOrCreate = () => {
const root = document.getElementById('ai-root');
if (!root) {