fix(接口测试): 场景报告步骤较多-加载图标显示位置靠上

--bug=1027903 --user=白奇 【接口测试】场景报告步骤较多-加载图标显示位置靠上 https://www.tapd.cn/55049933/s/1403657
This commit is contained in:
baiqi 2023-08-15 13:48:52 +08:00 committed by 刘瑞斌
parent ca20cdcbd3
commit 46f31912cc
1 changed files with 28 additions and 20 deletions

View File

@ -1,6 +1,6 @@
<template>
<div>
<ms-container v-loading="loading || reportExportVisible">
<ms-container class="page" v-loading="loading || reportExportVisible">
<ms-main-container>
<el-card>
<section class="report-container" v-if="this.report.testId">
@ -265,8 +265,13 @@ export default {
if (data.value && data.value.status === 'PENDING' && data.type !== 'IfController') {
return data;
}
if ((data.type === 'IfController' || data.type === 'GenericController' || data.type === 'LoopController' || data.type === 'TransactionController')
&& data.totalStatus === 'PENDING') {
if (
(data.type === 'IfController' ||
data.type === 'GenericController' ||
data.type === 'LoopController' ||
data.type === 'TransactionController') &&
data.totalStatus === 'PENDING'
) {
return data;
}
} else if (status === 'ERROR') {
@ -905,6 +910,9 @@ export default {
</style>
<style scoped>
.page {
min-height: 80vh;
}
.report-container {
height: calc(100vh - 70px);
min-height: 600px;