fix(测试计划): 更新抽屉的时间回显&关联用例抽屉样式
This commit is contained in:
parent
0d27cedd6b
commit
725f46d0f0
|
@ -112,7 +112,11 @@
|
||||||
<template #left>
|
<template #left>
|
||||||
<div class="flex items-center justify-between">
|
<div class="flex items-center justify-between">
|
||||||
<div class="flex items-center">
|
<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 class="text-[var(--color-text-4)]">({{ propsRes.msPagination?.total }})</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -251,6 +251,7 @@
|
||||||
if (props.planId?.length) {
|
if (props.planId?.length) {
|
||||||
const result = await getTestPlanDetail(props.planId);
|
const result = await getTestPlanDetail(props.planId);
|
||||||
form.value = cloneDeep(result);
|
form.value = cloneDeep(result);
|
||||||
|
form.value.cycle = [result.plannedStartTime as number, result.plannedEndTime as number];
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// eslint-disable-next-line no-console
|
// eslint-disable-next-line no-console
|
||||||
|
|
Loading…
Reference in New Issue