From ac6a0ef43aaf694328873d8c6ae2fa1fb114ea79 Mon Sep 17 00:00:00 2001 From: teukkk Date: Thu, 18 Apr 2024 11:42:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=94=A8=E4=BE=8B=E5=88=97=E8=A1=A8=E6=B2=A1?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=AD=90=E6=A8=A1=E5=9D=97=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E7=9A=84=E7=BC=BA=E9=99=B7&=E6=9B=B4=E6=8D=A2UI=E6=8F=92?= =?UTF-8?q?=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1039575 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001039575 --bug=1039182 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001039182 --- frontend/src/assets/svg/no_resource.svg | 40 ++++++++----------- frontend/src/enums/tableEnum.ts | 2 +- frontend/src/layout/no-permission-layout.vue | 32 ++++----------- .../components/management/case/caseTable.vue | 2 +- 4 files changed, 25 insertions(+), 51 deletions(-) diff --git a/frontend/src/assets/svg/no_resource.svg b/frontend/src/assets/svg/no_resource.svg index a80a203566..1c9187eebe 100644 --- a/frontend/src/assets/svg/no_resource.svg +++ b/frontend/src/assets/svg/no_resource.svg @@ -1,24 +1,16 @@ - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + + diff --git a/frontend/src/enums/tableEnum.ts b/frontend/src/enums/tableEnum.ts index 1938f2b3af..89290a27c1 100644 --- a/frontend/src/enums/tableEnum.ts +++ b/frontend/src/enums/tableEnum.ts @@ -8,7 +8,7 @@ export enum TableModuleEnum { export enum TableKeyEnum { API_TEST = 'apiTest', - API_TEST_MANAGEMENT_CASE = 'apiTestMenagementCase', + API_TEST_MANAGEMENT_CASE = 'apiTestManagementCase', API_TEST_DEBUG_FORM_DATA = 'apiTestDebugFormData', API_TEST_DEBUG_REST = 'apiTestDebugRest', API_TEST_DEBUG_QUERY = 'apiTestDebugQuery', diff --git a/frontend/src/layout/no-permission-layout.vue b/frontend/src/layout/no-permission-layout.vue index f23e771796..2eff1c89b2 100644 --- a/frontend/src/layout/no-permission-layout.vue +++ b/frontend/src/layout/no-permission-layout.vue @@ -9,12 +9,7 @@
-
-
- -
-
-
+
{{ props.isProject ? t('common.noProject') : t('common.noResource') }}
@@ -54,25 +49,12 @@ height: 100%; background-color: var(--color-text-fff); .content { - .icon { - position: relative; - display: flex; - align-items: center; - margin-bottom: 40px; - height: 218px; - flex-direction: column; - .icon-svg { - z-index: 100; - } - .radius-box { - position: relative; - bottom: 83px; - width: 355px; - height: 117px; - flex-shrink: 0; - border-radius: 355px; - background: linear-gradient(180deg, #ededf1 0%, rgb(255 255 255 / 0%) 100%); - } + .no-resource-svg { + margin: 0 auto 24px; + width: 160px; + height: 98px; + background: url('@/assets/svg/no_resource.svg'); + background-size: cover; } .title { display: flex; diff --git a/frontend/src/views/api-test/management/components/management/case/caseTable.vue b/frontend/src/views/api-test/management/components/management/case/caseTable.vue index 5e54bef45e..6cbfad2ba5 100644 --- a/frontend/src/views/api-test/management/components/management/case/caseTable.vue +++ b/frontend/src/views/api-test/management/components/management/case/caseTable.vue @@ -1021,7 +1021,7 @@ loadCaseList, }); - await tableStore.initColumn(TableKeyEnum.API_TEST_MANAGEMENT_CASE, columns, 'drawer'); + await tableStore.initColumn(TableKeyEnum.API_TEST_MANAGEMENT_CASE, columns, 'drawer', true);