fix(测试计划): 测试计划阈值展示有误

--bug=1041256 --user=宋昌昌 【测试计划】新建计划成功后编辑计划-默认阈值显示为空&编辑阈值提交后-阈值仍显示为空 https://www.tapd.cn/55049933/s/1521532
This commit is contained in:
song-cc-rock 2024-05-27 16:50:06 +08:00 committed by 刘瑞斌
parent 95943e6665
commit b81c5f44d3
1 changed files with 2 additions and 0 deletions

View File

@ -118,6 +118,7 @@
class="w-[120px]"
:min="1"
:max="100"
:precision="2"
:default-value="100"
/>
</a-form-item>
@ -347,6 +348,7 @@
}
form.value.cycle = [result.plannedStartTime as number, result.plannedEndTime as number];
form.value.passThreshold = parseFloat(result.passThreshold.toString());
}
} catch (error) {
// eslint-disable-next-line no-console