feat: 测试用例前置条件换行显示

This commit is contained in:
Captain.B 2020-10-26 18:11:30 +08:00
parent e33e92c6d7
commit ad97428e1d
1 changed files with 6 additions and 1 deletions

View File

@ -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>