From e2b713d0f1e74d985b74cd7ab9feeefc0869dd64 Mon Sep 17 00:00:00 2001 From: baiqi Date: Thu, 24 Aug 2023 18:10:46 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E7=B3=BB=E7=BB=9F=E8=8C=83=E5=9B=B4=E5=B1=95?= =?UTF-8?q?=E7=A4=BA&=E7=94=A8=E6=88=B7=E6=89=B9=E9=87=8F=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/models/setting/user.ts | 1 + frontend/src/router/routes/modules/apiTest.ts | 2 +- frontend/src/router/routes/modules/bugManagement.ts | 2 +- frontend/src/router/routes/modules/featureTest.ts | 2 +- frontend/src/router/routes/modules/uiTest.ts | 2 +- frontend/src/router/routes/modules/workbench.ts | 2 +- .../src/views/setting/system/log/components/logCards.vue | 6 +++++- frontend/src/views/setting/system/resourcePool/detail.vue | 6 +++++- .../views/setting/system/user/components/batchModal.vue | 7 ++++--- 9 files changed, 20 insertions(+), 10 deletions(-) diff --git a/frontend/src/models/setting/user.ts b/frontend/src/models/setting/user.ts index 2105ff30ea..546603de46 100644 --- a/frontend/src/models/setting/user.ts +++ b/frontend/src/models/setting/user.ts @@ -105,4 +105,5 @@ export interface OrgsItem { id: string; name: string; children?: OrgsItem[]; + leafNode: boolean; } diff --git a/frontend/src/router/routes/modules/apiTest.ts b/frontend/src/router/routes/modules/apiTest.ts index e2dc14d46c..3383956122 100644 --- a/frontend/src/router/routes/modules/apiTest.ts +++ b/frontend/src/router/routes/modules/apiTest.ts @@ -17,7 +17,7 @@ const ApiTest: AppRouteRecordRaw = { children: [ { path: 'index', - name: 'ApiTestIndex', + name: 'apiTestIndex', component: () => import('@/views/api-test/index.vue'), meta: { roles: ['*'], diff --git a/frontend/src/router/routes/modules/bugManagement.ts b/frontend/src/router/routes/modules/bugManagement.ts index 71aedbb43b..f2565b10e8 100644 --- a/frontend/src/router/routes/modules/bugManagement.ts +++ b/frontend/src/router/routes/modules/bugManagement.ts @@ -17,7 +17,7 @@ const BugManagement: AppRouteRecordRaw = { children: [ { path: 'index', - name: 'BugManagementIndex', + name: 'bugManagementIndex', component: () => import('@/views/bug-management/index.vue'), meta: { roles: ['*'], diff --git a/frontend/src/router/routes/modules/featureTest.ts b/frontend/src/router/routes/modules/featureTest.ts index a9fbc28129..cd1995aa36 100644 --- a/frontend/src/router/routes/modules/featureTest.ts +++ b/frontend/src/router/routes/modules/featureTest.ts @@ -17,7 +17,7 @@ const FeatureTest: AppRouteRecordRaw = { children: [ { path: 'index', - name: 'FeatureTestIndex', + name: 'featureTestIndex', component: () => import('@/views/feature-test/index.vue'), meta: { roles: ['*'], diff --git a/frontend/src/router/routes/modules/uiTest.ts b/frontend/src/router/routes/modules/uiTest.ts index 663a965223..3e1eab1888 100644 --- a/frontend/src/router/routes/modules/uiTest.ts +++ b/frontend/src/router/routes/modules/uiTest.ts @@ -17,7 +17,7 @@ const UiTest: AppRouteRecordRaw = { children: [ { path: 'index', - name: 'UiTestIndex', + name: 'uiTestIndex', component: () => import('@/views/ui-test/index.vue'), meta: { roles: ['*'], diff --git a/frontend/src/router/routes/modules/workbench.ts b/frontend/src/router/routes/modules/workbench.ts index 33d7d3f59b..adf014c8ef 100644 --- a/frontend/src/router/routes/modules/workbench.ts +++ b/frontend/src/router/routes/modules/workbench.ts @@ -17,7 +17,7 @@ const Workbench: AppRouteRecordRaw = { children: [ { path: 'index', - name: 'WorkbenchIndex', + name: 'workbenchIndex', component: () => import('@/views/workbench/index.vue'), meta: { roles: ['*'], diff --git a/frontend/src/views/setting/system/log/components/logCards.vue b/frontend/src/views/setting/system/log/components/logCards.vue index 5ce46e2bc4..ccfdf7e6c8 100644 --- a/frontend/src/views/setting/system/log/components/logCards.vue +++ b/frontend/src/views/setting/system/log/components/logCards.vue @@ -76,7 +76,11 @@