diff --git a/paimon-web-ui-new/src/router/modules/playground.ts b/paimon-web-ui-new/src/router/modules/playground.ts index ab92430bd..07863afe2 100644 --- a/paimon-web-ui-new/src/router/modules/playground.ts +++ b/paimon-web-ui-new/src/router/modules/playground.ts @@ -27,14 +27,14 @@ export default [ path: '/playground', name: 'playground', meta: { title: '查询控制台' }, - redirect: { name: 'playground-database' }, + redirect: { name: 'playground-query' }, component: () => import('@/views/playground'), children: [ { - path: '/playground/database', - name: 'playground-database', + path: '/playground/query', + name: 'playground-query', meta: { title: '查询' }, - component: () => import('@/views/playground/components/database') + component: () => import('@/views/playground/components/query') }, { path: '/playground/workbench', diff --git a/paimon-web-ui-new/src/views/playground/components/database/components/console/index.module.scss b/paimon-web-ui-new/src/views/playground/components/query/components/console/index.module.scss similarity index 100% rename from paimon-web-ui-new/src/views/playground/components/database/components/console/index.module.scss rename to paimon-web-ui-new/src/views/playground/components/query/components/console/index.module.scss diff --git a/paimon-web-ui-new/src/views/playground/components/database/components/console/index.tsx b/paimon-web-ui-new/src/views/playground/components/query/components/console/index.tsx similarity index 100% rename from paimon-web-ui-new/src/views/playground/components/database/components/console/index.tsx rename to paimon-web-ui-new/src/views/playground/components/query/components/console/index.tsx diff --git a/paimon-web-ui-new/src/views/playground/components/database/components/debugger/index.module.scss b/paimon-web-ui-new/src/views/playground/components/query/components/debugger/index.module.scss similarity index 100% rename from paimon-web-ui-new/src/views/playground/components/database/components/debugger/index.module.scss rename to paimon-web-ui-new/src/views/playground/components/query/components/debugger/index.module.scss diff --git a/paimon-web-ui-new/src/views/playground/components/database/components/debugger/index.tsx b/paimon-web-ui-new/src/views/playground/components/query/components/debugger/index.tsx similarity index 100% rename from paimon-web-ui-new/src/views/playground/components/database/components/debugger/index.tsx rename to paimon-web-ui-new/src/views/playground/components/query/components/debugger/index.tsx diff --git a/paimon-web-ui-new/src/views/playground/components/database/components/menu-tree/index.module.scss b/paimon-web-ui-new/src/views/playground/components/query/components/menu-tree/index.module.scss similarity index 100% rename from paimon-web-ui-new/src/views/playground/components/database/components/menu-tree/index.module.scss rename to paimon-web-ui-new/src/views/playground/components/query/components/menu-tree/index.module.scss diff --git a/paimon-web-ui-new/src/views/playground/components/database/components/menu-tree/index.tsx b/paimon-web-ui-new/src/views/playground/components/query/components/menu-tree/index.tsx similarity index 100% rename from paimon-web-ui-new/src/views/playground/components/database/components/menu-tree/index.tsx rename to paimon-web-ui-new/src/views/playground/components/query/components/menu-tree/index.tsx diff --git a/paimon-web-ui-new/src/views/playground/components/database/components/tabs/index.module.scss b/paimon-web-ui-new/src/views/playground/components/query/components/tabs/index.module.scss similarity index 100% rename from paimon-web-ui-new/src/views/playground/components/database/components/tabs/index.module.scss rename to paimon-web-ui-new/src/views/playground/components/query/components/tabs/index.module.scss diff --git a/paimon-web-ui-new/src/views/playground/components/database/components/tabs/index.tsx b/paimon-web-ui-new/src/views/playground/components/query/components/tabs/index.tsx similarity index 100% rename from paimon-web-ui-new/src/views/playground/components/database/components/tabs/index.tsx rename to paimon-web-ui-new/src/views/playground/components/query/components/tabs/index.tsx diff --git a/paimon-web-ui-new/src/views/playground/components/database/index.module.scss b/paimon-web-ui-new/src/views/playground/components/query/index.module.scss similarity index 100% rename from paimon-web-ui-new/src/views/playground/components/database/index.module.scss rename to paimon-web-ui-new/src/views/playground/components/query/index.module.scss diff --git a/paimon-web-ui-new/src/views/playground/components/database/index.tsx b/paimon-web-ui-new/src/views/playground/components/query/index.tsx similarity index 100% rename from paimon-web-ui-new/src/views/playground/components/database/index.tsx rename to paimon-web-ui-new/src/views/playground/components/query/index.tsx