样式微调

This commit is contained in:
GYYM
2024-11-22 10:46:10 +08:00
parent 44f8d43775
commit 6137ac18b7
8 changed files with 47 additions and 24 deletions

View File

@@ -14,6 +14,7 @@
</div>
<div class="right-content">
<el-tabs type="border-card">
<el-empty description="暂无数据,等待检测开始" v-if="activeIndex === 0"/>
<el-tab-pane label="被检设备1" v-if="activeIndex > 0">
<channelsTestTable></channelsTestTable>
</el-tab-pane>
@@ -87,12 +88,12 @@ if(ts.value==='start')
ts.value = 'process'
let timer = setInterval(() => {
if(activeIndex.value < activeTotalNum.value - 2)
if(activeIndex.value < activeTotalNum.value)
activeIndex.value++
else if(activeIndex.value === activeTotalNum.value -2)
else if(activeIndex.value === activeTotalNum.value)
{
activeIndex.value++
activeIndex.value++
clearInterval(timer)
ts.value = 'success'
}
else
{
@@ -176,6 +177,6 @@ emit('update:testStatus',ts.value)
margin-bottom: 10px;
}
.right-content{
min-height: 400px;
max-height: 400px;
}
</style>