From ec3cc8b8c00e62c365f488936ef4746a29a37e9e Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Tue, 16 Apr 2024 22:55:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=BC=BA=E9=99=B7?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=AD=89bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/ms-batch-modal/types.ts | 4 ++- .../business/ms-link-file/storageList.vue | 11 +++--- .../components/bug-detail-drawer.vue | 4 +++ .../bug-management/components/commentTab.vue | 2 +- frontend/src/views/bug-management/edit.vue | 5 +-- frontend/src/views/bug-management/index.vue | 25 ++++++------- frontend/src/views/bug-management/recycle.vue | 36 +++++++++++-------- .../member/components/memberTable.vue | 17 +++++++++ .../setting/organization/member/index.vue | 21 ++++++++++- 9 files changed, 85 insertions(+), 40 deletions(-) diff --git a/frontend/src/components/business/ms-batch-modal/types.ts b/frontend/src/components/business/ms-batch-modal/types.ts index cac1daa7f5..7c048f1364 100644 --- a/frontend/src/components/business/ms-batch-modal/types.ts +++ b/frontend/src/components/business/ms-batch-modal/types.ts @@ -1,4 +1,6 @@ -export interface BatchModel { +import type { TableQueryParams } from '@/models/common'; + +export interface BatchModel extends TableQueryParams { id?: string; organizationId?: string; memberIds?: string[]; diff --git a/frontend/src/components/business/ms-link-file/storageList.vue b/frontend/src/components/business/ms-link-file/storageList.vue index a94f224fcb..63f3a8fe5d 100644 --- a/frontend/src/components/business/ms-link-file/storageList.vue +++ b/frontend/src/components/business/ms-link-file/storageList.vue @@ -108,14 +108,11 @@ } } - watch( - () => props.showType, - (val) => { - if (val === 'Storage') { - initRepositories(); - } + watchEffect(() => { + if (props.showType === 'Storage') { + initRepositories(); } - ); + }); /** * 初始化模块文件数量 diff --git a/frontend/src/views/bug-management/components/bug-detail-drawer.vue b/frontend/src/views/bug-management/components/bug-detail-drawer.vue index 97279de7be..662a80c4ec 100644 --- a/frontend/src/views/bug-management/components/bug-detail-drawer.vue +++ b/frontend/src/views/bug-management/components/bug-detail-drawer.vue @@ -776,6 +776,10 @@ .left-bug-detail { height: 88%; } + .tab-pane-container { + @apply flex-1 overflow-y-auto px-4; + .ms-scroll-bar(); + } //:deep(.w-full .arco-form-item-label) { // display: inline-block; // width: 100%; diff --git a/frontend/src/views/bug-management/components/commentTab.vue b/frontend/src/views/bug-management/components/commentTab.vue index b76fe0233f..41c5ef85fe 100644 --- a/frontend/src/views/bug-management/components/commentTab.vue +++ b/frontend/src/views/bug-management/components/commentTab.vue @@ -1,5 +1,5 @@