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-test-plan="false"
is-disabled 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> </a-modal>
</div> </div>
</template> </template>

View File

@ -401,7 +401,7 @@
scroll: { x: '100%' }, scroll: { x: '100%' },
tableKey: TableKeyEnum.TEST_PLAN_DETAIL_API_CASE, tableKey: TableKeyEnum.TEST_PLAN_DETAIL_API_CASE,
showSetting: true, showSetting: true,
heightUsed: 445, heightUsed: 275,
draggable: { type: 'handle' }, draggable: { type: 'handle' },
draggableCondition: true, draggableCondition: true,
selectable: hasOperationPermission.value, selectable: hasOperationPermission.value,

View File

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

View File

@ -380,7 +380,7 @@
scroll: { x: '100%' }, scroll: { x: '100%' },
tableKey: TableKeyEnum.TEST_PLAN_DETAIL_API_CASE, tableKey: TableKeyEnum.TEST_PLAN_DETAIL_API_CASE,
showSetting: true, showSetting: true,
heightUsed: 445, heightUsed: 275,
draggable: { type: 'handle' }, draggable: { type: 'handle' },
draggableCondition: true, draggableCondition: true,
selectable: hasOperationPermission.value, selectable: hasOperationPermission.value,

View File

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

View File

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

View File

@ -450,7 +450,7 @@
scroll: { x: '100%' }, scroll: { x: '100%' },
tableKey: TableKeyEnum.TEST_PLAN_DETAIL_FEATURE_CASE_TABLE, tableKey: TableKeyEnum.TEST_PLAN_DETAIL_FEATURE_CASE_TABLE,
showSetting: true, showSetting: true,
heightUsed: 445, heightUsed: 275,
draggable: { type: 'handle' }, draggable: { type: 'handle' },
draggableCondition: true, draggableCondition: true,
}); });

View File

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

View File

@ -30,7 +30,7 @@
:preview-url="`${PreviewEditorImageUrl}/${appStore.currentProjectId}`" :preview-url="`${PreviewEditorImageUrl}/${appStore.currentProjectId}`"
:auto-height="false" :auto-height="false"
class="w-full" class="w-full"
:auto-focus="true" :auto-focus="!props.notRichAutoFocus"
:max-height="props.richTextMaxHeight" :max-height="props.richTextMaxHeight"
:placeholder=" :placeholder="
props.isDblclickPlaceholder props.isDblclickPlaceholder
@ -61,6 +61,7 @@
const props = defineProps<{ const props = defineProps<{
isDblclickPlaceholder?: boolean; isDblclickPlaceholder?: boolean;
richTextMaxHeight?: string; richTextMaxHeight?: string;
notRichAutoFocus?: boolean;
}>(); }>();
const emit = defineEmits<{ const emit = defineEmits<{