style(测试计划): 测试计划详情-模块树和表格高度调整
This commit is contained in:
parent
2e5651c3ab
commit
5effa20c19
|
@ -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>
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
|
||||
const virtualListProps = computed(() => {
|
||||
return {
|
||||
height: 'calc(100vh - 390px)',
|
||||
height: 'calc(100vh - 260px)',
|
||||
threshold: 200,
|
||||
fixedSize: true,
|
||||
buffer: 15, // 缓冲区默认 10 的时候,虚拟滚动的底部 padding 计算有问题
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
|
||||
const virtualListProps = computed(() => {
|
||||
return {
|
||||
height: 'calc(100vh - 390px)',
|
||||
height: 'calc(100vh - 260px)',
|
||||
threshold: 200,
|
||||
fixedSize: true,
|
||||
buffer: 15, // 缓冲区默认 10 的时候,虚拟滚动的底部 padding 计算有问题
|
||||
|
|
|
@ -161,7 +161,6 @@
|
|||
tableKey: TableKeyEnum.TEST_PLAN_DETAIL_BUG_TABLE,
|
||||
scroll: { x: '100%' },
|
||||
showSelectorAll: false,
|
||||
heightUsed: 340,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -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,
|
||||
});
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
|
||||
const virtualListProps = computed(() => {
|
||||
return {
|
||||
height: 'calc(100vh - 390px)',
|
||||
height: 'calc(100vh - 260px)',
|
||||
threshold: 200,
|
||||
fixedSize: true,
|
||||
buffer: 15, // 缓冲区默认 10 的时候,虚拟滚动的底部 padding 计算有问题
|
||||
|
|
|
@ -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<{
|
||||
|
|
Loading…
Reference in New Issue