fix(接口测试): 场景报告步骤较多-加载图标显示位置靠上
--bug=1027903 --user=白奇 【接口测试】场景报告步骤较多-加载图标显示位置靠上 https://www.tapd.cn/55049933/s/1403657
This commit is contained in:
parent
ca20cdcbd3
commit
46f31912cc
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<ms-container v-loading="loading || reportExportVisible">
|
<ms-container class="page" v-loading="loading || reportExportVisible">
|
||||||
<ms-main-container>
|
<ms-main-container>
|
||||||
<el-card>
|
<el-card>
|
||||||
<section class="report-container" v-if="this.report.testId">
|
<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') {
|
if (data.value && data.value.status === 'PENDING' && data.type !== 'IfController') {
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
if ((data.type === 'IfController' || data.type === 'GenericController' || data.type === 'LoopController' || data.type === 'TransactionController')
|
if (
|
||||||
&& data.totalStatus === 'PENDING') {
|
(data.type === 'IfController' ||
|
||||||
|
data.type === 'GenericController' ||
|
||||||
|
data.type === 'LoopController' ||
|
||||||
|
data.type === 'TransactionController') &&
|
||||||
|
data.totalStatus === 'PENDING'
|
||||||
|
) {
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
} else if (status === 'ERROR') {
|
} else if (status === 'ERROR') {
|
||||||
|
@ -905,6 +910,9 @@ export default {
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
.page {
|
||||||
|
min-height: 80vh;
|
||||||
|
}
|
||||||
.report-container {
|
.report-container {
|
||||||
height: calc(100vh - 70px);
|
height: calc(100vh - 70px);
|
||||||
min-height: 600px;
|
min-height: 600px;
|
||||||
|
|
Loading…
Reference in New Issue