暂停页面效果调整

This commit is contained in:
caozehui
2025-01-14 18:58:13 +08:00
parent 37d65a944d
commit 876c06ef54
2 changed files with 13 additions and 8 deletions

View File

@@ -12,6 +12,12 @@
:icon="VideoPause"
@click="emit('sendPause')">停止检测
</el-button>
<el-button type="warning" v-if="testStatus === 'paused_ing'" disabled>
<el-icon class="loading-box" style="margin-right: 8px;">
<component :is="Refresh"/>
</el-icon>
暂停中
</el-button>
<!-- <el-button-->
<!-- type="primary"-->
<!-- v-if="testStatus=='test_init'"-->
@@ -425,7 +431,6 @@ watch(webMsgSend, function (newValue, oldValue) {
break;
case 'preStopTest':
if(newValue.operateCode == 'stop'){
tryHideFullScreenLoading()
ElMessage.success('暂停成功')
emit('update:testStatus', 'paused')
handlePauseTest()