feat: 测试用例前置条件换行显示
This commit is contained in:
parent
e33e92c6d7
commit
ad97428e1d
|
@ -101,7 +101,7 @@
|
|||
<el-row>
|
||||
<el-col :offset="1">
|
||||
<span class="cast_label">{{ $t('test_track.case.prerequisite') }}:</span>
|
||||
<span class="cast_item">{{ testCase.prerequisite }}</span>
|
||||
<span class="cast_item"><p>{{ testCase.prerequisite }}</p></span>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
|
@ -684,4 +684,9 @@ export default {
|
|||
.el-switch >>> .el-switch__label.is-active {
|
||||
color: #409EFF;
|
||||
}
|
||||
|
||||
p {
|
||||
white-space: pre-line;
|
||||
line-height: 20px;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue