From 90d20de060bdf0aff87d16a0394e3ab422858d02 Mon Sep 17 00:00:00 2001 From: baiqi Date: Tue, 25 Jun 2024 18:25:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=85=A8=E5=B1=80):=20bugFix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/modules/api-test/management.ts | 1 - frontend/src/api/requrls/api-test.ts | 2 -- .../components/pure/ms-form-table/index.vue | 26 ++++++++++++++++++- frontend/src/config/pathMap.ts | 2 +- .../components/management/api/apiTable.vue | 11 +------- .../src/views/api-test/management/index.vue | 17 ++++++------ .../scenario/recycle/recycleTable.vue | 22 +++++++++++++--- .../bug-management/components/basicInfo.vue | 3 ++- .../components/bug-detail-drawer.vue | 6 ++++- 9 files changed, 62 insertions(+), 28 deletions(-) delete mode 100644 frontend/src/api/requrls/api-test.ts diff --git a/frontend/src/api/modules/api-test/management.ts b/frontend/src/api/modules/api-test/management.ts index 7f1da8228c..0e87a1da8f 100644 --- a/frontend/src/api/modules/api-test/management.ts +++ b/frontend/src/api/modules/api-test/management.ts @@ -115,7 +115,6 @@ import { DefinitionHistoryItem, DefinitionHistoryPageParams, DefinitionReferencePageParams, - Environment, EnvModule, ImportApiDefinitionParams, mockParams, diff --git a/frontend/src/api/requrls/api-test.ts b/frontend/src/api/requrls/api-test.ts deleted file mode 100644 index 3c643dd393..0000000000 --- a/frontend/src/api/requrls/api-test.ts +++ /dev/null @@ -1,2 +0,0 @@ -export const GetApiTestListUrl = `/mock/list/menu`; -export const GetApiTestList = `/api/definition/page`; diff --git a/frontend/src/components/pure/ms-form-table/index.vue b/frontend/src/components/pure/ms-form-table/index.vue index 28f7b9987e..e9d7d9b383 100644 --- a/frontend/src/components/pure/ms-form-table/index.vue +++ b/frontend/src/components/pure/ms-form-table/index.vue @@ -117,6 +117,16 @@ + + + @@ -510,15 +529,12 @@ :deep(.param-input:not(.arco-input-focus, .arco-select-view-focus)) { &:not(:hover) { border-color: transparent !important; - .arco-input::placeholder { @apply invisible; } - .arco-select-view-icon { @apply invisible; } - .arco-select-view-value { color: var(--color-text-brand); } diff --git a/frontend/src/views/bug-management/components/basicInfo.vue b/frontend/src/views/bug-management/components/basicInfo.vue index ee13a4323c..39f89fdeea 100644 --- a/frontend/src/views/bug-management/components/basicInfo.vue +++ b/frontend/src/views/bug-management/components/basicInfo.vue @@ -13,6 +13,7 @@ v-model:form-rule="innerFormRules" class="w-full" :option="options" + :disabled="!hasAnyPermission(['PROJECT_BUG:READ+UPDATE'])" @change="handelFormCreateChange" /> @@ -53,7 +54,6 @@