refactor: 测试报告的loading提示

Closes #778
This commit is contained in:
Captain.B 2020-11-17 18:12:43 +08:00
parent 0b2feb4d57
commit 7f0efeab68
1 changed files with 21 additions and 19 deletions

View File

@ -1,5 +1,5 @@
<template>
<ms-container v-loading="loading" :element-loading-text="$t('api_report.running')">
<ms-container v-loading="loading">
<ms-main-container>
<el-card>
<section class="report-container" v-if="this.report.testId">
@ -23,10 +23,12 @@
</el-tabs>
</el-col>
<el-col :span="16" style="margin-top: 40px;">
<ms-request-result-tail v-if="isRequestResult" :request-type="requestType" :request="request" :scenario-name="scenarioName"/>
<ms-request-result-tail v-if="isRequestResult" :request-type="requestType" :request="request"
:scenario-name="scenarioName"/>
</el-col>
</el-row>
<ms-api-report-export v-if="reportExportVisible" id="apiTestReport" :title="report.testName" :content="content" :total-time="totalTime"/>
<ms-api-report-export v-if="reportExportVisible" id="apiTestReport" :title="report.testName"
:content="content" :total-time="totalTime"/>
</main>
</section>
</el-card>