diff --git a/frontend/src/components/business/ms-minders/testPlanFeatureCaseMinder/index.vue b/frontend/src/components/business/ms-minders/testPlanFeatureCaseMinder/index.vue index db014ed8b8..5afa2305ce 100644 --- a/frontend/src/components/business/ms-minders/testPlanFeatureCaseMinder/index.vue +++ b/frontend/src/components/business/ms-minders/testPlanFeatureCaseMinder/index.vue @@ -205,7 +205,7 @@ :is-disabled-test-plan="false" is-disabled /> - + diff --git a/frontend/src/views/test-plan/testPlan/detail/apiCase/components/caseTable.vue b/frontend/src/views/test-plan/testPlan/detail/apiCase/components/caseTable.vue index 1a578ff71f..24c518c5cc 100644 --- a/frontend/src/views/test-plan/testPlan/detail/apiCase/components/caseTable.vue +++ b/frontend/src/views/test-plan/testPlan/detail/apiCase/components/caseTable.vue @@ -401,7 +401,7 @@ scroll: { x: '100%' }, tableKey: TableKeyEnum.TEST_PLAN_DETAIL_API_CASE, showSetting: true, - heightUsed: 445, + heightUsed: 275, draggable: { type: 'handle' }, draggableCondition: true, selectable: hasOperationPermission.value, diff --git a/frontend/src/views/test-plan/testPlan/detail/apiCase/components/caseTree.vue b/frontend/src/views/test-plan/testPlan/detail/apiCase/components/caseTree.vue index e5e4d07988..59b8253f9d 100644 --- a/frontend/src/views/test-plan/testPlan/detail/apiCase/components/caseTree.vue +++ b/frontend/src/views/test-plan/testPlan/detail/apiCase/components/caseTree.vue @@ -85,7 +85,7 @@ const virtualListProps = computed(() => { return { - height: 'calc(100vh - 390px)', + height: 'calc(100vh - 260px)', threshold: 200, fixedSize: true, buffer: 15, // 缓冲区默认 10 的时候,虚拟滚动的底部 padding 计算有问题 diff --git a/frontend/src/views/test-plan/testPlan/detail/apiScenario/components/scenarioTable.vue b/frontend/src/views/test-plan/testPlan/detail/apiScenario/components/scenarioTable.vue index 75740cf0f8..16d84820db 100644 --- a/frontend/src/views/test-plan/testPlan/detail/apiScenario/components/scenarioTable.vue +++ b/frontend/src/views/test-plan/testPlan/detail/apiScenario/components/scenarioTable.vue @@ -380,7 +380,7 @@ scroll: { x: '100%' }, tableKey: TableKeyEnum.TEST_PLAN_DETAIL_API_CASE, showSetting: true, - heightUsed: 445, + heightUsed: 275, draggable: { type: 'handle' }, draggableCondition: true, selectable: hasOperationPermission.value, diff --git a/frontend/src/views/test-plan/testPlan/detail/apiScenario/components/scenarioTree.vue b/frontend/src/views/test-plan/testPlan/detail/apiScenario/components/scenarioTree.vue index 48b5c5db33..86aa9f885c 100644 --- a/frontend/src/views/test-plan/testPlan/detail/apiScenario/components/scenarioTree.vue +++ b/frontend/src/views/test-plan/testPlan/detail/apiScenario/components/scenarioTree.vue @@ -79,7 +79,7 @@ const virtualListProps = computed(() => { return { - height: 'calc(100vh - 390px)', + height: 'calc(100vh - 260px)', threshold: 200, fixedSize: true, buffer: 15, // 缓冲区默认 10 的时候,虚拟滚动的底部 padding 计算有问题 diff --git a/frontend/src/views/test-plan/testPlan/detail/bugManagement/index.vue b/frontend/src/views/test-plan/testPlan/detail/bugManagement/index.vue index 674607a7bf..15b5636292 100644 --- a/frontend/src/views/test-plan/testPlan/detail/bugManagement/index.vue +++ b/frontend/src/views/test-plan/testPlan/detail/bugManagement/index.vue @@ -161,7 +161,6 @@ tableKey: TableKeyEnum.TEST_PLAN_DETAIL_BUG_TABLE, scroll: { x: '100%' }, showSelectorAll: false, - heightUsed: 340, } ); diff --git a/frontend/src/views/test-plan/testPlan/detail/featureCase/components/caseTable.vue b/frontend/src/views/test-plan/testPlan/detail/featureCase/components/caseTable.vue index 8df64d155e..4676c1d883 100644 --- a/frontend/src/views/test-plan/testPlan/detail/featureCase/components/caseTable.vue +++ b/frontend/src/views/test-plan/testPlan/detail/featureCase/components/caseTable.vue @@ -450,7 +450,7 @@ scroll: { x: '100%' }, tableKey: TableKeyEnum.TEST_PLAN_DETAIL_FEATURE_CASE_TABLE, showSetting: true, - heightUsed: 445, + heightUsed: 275, draggable: { type: 'handle' }, draggableCondition: true, }); diff --git a/frontend/src/views/test-plan/testPlan/detail/featureCase/components/caseTree.vue b/frontend/src/views/test-plan/testPlan/detail/featureCase/components/caseTree.vue index 150554cbb8..8a75aef900 100644 --- a/frontend/src/views/test-plan/testPlan/detail/featureCase/components/caseTree.vue +++ b/frontend/src/views/test-plan/testPlan/detail/featureCase/components/caseTree.vue @@ -80,7 +80,7 @@ const virtualListProps = computed(() => { return { - height: 'calc(100vh - 390px)', + height: 'calc(100vh - 260px)', threshold: 200, fixedSize: true, buffer: 15, // 缓冲区默认 10 的时候,虚拟滚动的底部 padding 计算有问题 diff --git a/frontend/src/views/test-plan/testPlan/detail/featureCase/components/executeForm.vue b/frontend/src/views/test-plan/testPlan/detail/featureCase/components/executeForm.vue index 2d210089eb..b8c6839ba3 100644 --- a/frontend/src/views/test-plan/testPlan/detail/featureCase/components/executeForm.vue +++ b/frontend/src/views/test-plan/testPlan/detail/featureCase/components/executeForm.vue @@ -30,7 +30,7 @@ :preview-url="`${PreviewEditorImageUrl}/${appStore.currentProjectId}`" :auto-height="false" class="w-full" - :auto-focus="true" + :auto-focus="!props.notRichAutoFocus" :max-height="props.richTextMaxHeight" :placeholder=" props.isDblclickPlaceholder @@ -61,6 +61,7 @@ const props = defineProps<{ isDblclickPlaceholder?: boolean; richTextMaxHeight?: string; + notRichAutoFocus?: boolean; }>(); const emit = defineEmits<{