fix(测试计划): 更新抽屉的时间回显&关联用例抽屉样式

This commit is contained in:
teukkk 2024-05-11 10:36:30 +08:00 committed by Craftsman
parent 0d27cedd6b
commit 725f46d0f0
2 changed files with 6 additions and 1 deletions

View File

@ -112,7 +112,11 @@
<template #left>
<div class="flex items-center justify-between">
<div class="flex items-center">
<div class="mr-[4px] text-[var(--color-text-1)]">{{ activeFolderName }}</div>
<a-tooltip :content="activeFolderName">
<div class="one-line-text mr-[4px] max-w-[300px] text-[var(--color-text-1)]">{{
activeFolderName
}}</div>
</a-tooltip>
<div class="text-[var(--color-text-4)]">({{ propsRes.msPagination?.total }})</div>
</div>
</div>

View File

@ -251,6 +251,7 @@
if (props.planId?.length) {
const result = await getTestPlanDetail(props.planId);
form.value = cloneDeep(result);
form.value.cycle = [result.plannedStartTime as number, result.plannedEndTime as number];
}
} catch (error) {
// eslint-disable-next-line no-console