diff --git a/frontend/src/components/business/ms-comment/input.vue b/frontend/src/components/business/ms-comment/input.vue index 236c58df38..95d374e17c 100644 --- a/frontend/src/components/business/ms-comment/input.vue +++ b/frontend/src/components/business/ms-comment/input.vue @@ -87,12 +87,16 @@ onBeforeUnmount(() => { window.removeEventListener('keydown', handleGlobalKeyDown); }); + + defineExpose({ + isActive, + }); 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 7a4584335e..5c9f6e3587 100644 --- a/frontend/src/views/bug-management/components/bug-detail-drawer.vue +++ b/frontend/src/views/bug-management/components/bug-detail-drawer.vue @@ -93,19 +93,18 @@ - + @@ -208,6 +207,7 @@ ('detail'); + const commentInputRef = ref>(); + const commentInputIsActive = computed(() => commentInputRef.value?.isActive); + const detailInfo = ref>({ match: [] }); // 存储当前详情信息,通过loadBug 获取 const tags = ref([]); const platformSystemFields = ref([]); // 平台系统字段 @@ -779,9 +782,6 @@ :deep(.tags-class .arco-form-item-label-col) { justify-content: flex-start !important; } - .left-bug-detail { - height: 88%; - } .tab-pane-container { @apply flex-1 overflow-y-auto px-4; .ms-scroll-bar(); diff --git a/frontend/src/views/case-management/caseManagementFeature/components/caseDetailDrawer.vue b/frontend/src/views/case-management/caseManagementFeature/components/caseDetailDrawer.vue index a4277771a1..548225c8eb 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/caseDetailDrawer.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/caseDetailDrawer.vue @@ -90,10 +90,7 @@ @@ -238,6 +235,7 @@ >(); + const commentInputIsActive = computed(() => commentInputRef.value?.isActive); + // const tabSettingList = computed(() => { // return featureCaseStore.tabSettingList; // });