style(测试计划): 测试计划详情-模块树和表格高度调整

This commit is contained in:
teukkk 2024-10-31 15:35:14 +08:00 committed by 刘瑞斌
parent f2667bd5d5
commit 5291ac9a62
9 changed files with 9 additions and 9 deletions

View File

@ -205,7 +205,7 @@
:is-disabled-test-plan="false"
is-disabled
/>
<ExecuteForm v-model:form="executeForm" class="mt-[24px]" rich-text-max-height="150px" />
<ExecuteForm v-model:form="executeForm" class="mt-[24px]" rich-text-max-height="150px" not-rich-auto-focus />
</a-modal>
</div>
</template>

View File

@ -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,

View File

@ -85,7 +85,7 @@
const virtualListProps = computed(() => {
return {
height: 'calc(100vh - 390px)',
height: 'calc(100vh - 260px)',
threshold: 200,
fixedSize: true,
buffer: 15, // 10 padding

View File

@ -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,

View File

@ -79,7 +79,7 @@
const virtualListProps = computed(() => {
return {
height: 'calc(100vh - 390px)',
height: 'calc(100vh - 260px)',
threshold: 200,
fixedSize: true,
buffer: 15, // 10 padding

View File

@ -161,7 +161,6 @@
tableKey: TableKeyEnum.TEST_PLAN_DETAIL_BUG_TABLE,
scroll: { x: '100%' },
showSelectorAll: false,
heightUsed: 340,
}
);

View File

@ -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,
});

View File

@ -80,7 +80,7 @@
const virtualListProps = computed(() => {
return {
height: 'calc(100vh - 390px)',
height: 'calc(100vh - 260px)',
threshold: 200,
fixedSize: true,
buffer: 15, // 10 padding

View File

@ -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<{