♻️ refactor(query-editor): 拆分 SQL 结果区渲染组件

This commit is contained in:
Syngnat
2026-06-09 14:57:29 +08:00
parent c45961f027
commit c8f11d7258
3 changed files with 544 additions and 462 deletions

View File

@@ -3189,7 +3189,7 @@ describe('QueryEditor external SQL save', () => {
});
it('keeps query result tabs compact, centered, and readable in v2 UI', () => {
const source = readFileSync(new URL('./QueryEditor.tsx', import.meta.url), 'utf8');
const source = readFileSync(new URL('./QueryEditorResultsPanel.tsx', import.meta.url), 'utf8');
const css = readFileSync(new URL('../v2-theme.css', import.meta.url), 'utf8');
expect(source).toContain('.query-result-tabs .ant-tabs-tab {');