style(测试计划): 测试计划详情-模块树和表格高度调整
This commit is contained in:
parent
f2667bd5d5
commit
5291ac9a62
|
@ -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>
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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 计算有问题
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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 计算有问题
|
||||||
|
|
|
@ -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,
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
});
|
});
|
||||||
|
|
|
@ -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 计算有问题
|
||||||
|
|
|
@ -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<{
|
||||||
|
|
Loading…
Reference in New Issue