暂停页面效果调整
This commit is contained in:
@@ -42,12 +42,12 @@
|
||||
</el-icon>
|
||||
初始化中
|
||||
</el-button>
|
||||
<!-- <el-button type="warning" v-if="ActiveStatue === 'paused'" disabled>-->
|
||||
<!-- <el-icon class="loading-box" style="color: #fff;margin-right: 8px;">-->
|
||||
<!-- <component :is="Refresh"/>-->
|
||||
<!-- </el-icon>-->
|
||||
<!-- 暂停中-->
|
||||
<!-- </el-button>-->
|
||||
<el-button type="warning" v-if="ActiveStatue === 'paused_ing'" disabled>
|
||||
<el-icon class="loading-box" style="color: #fff;margin-right: 8px;">
|
||||
<component :is="Refresh"/>
|
||||
</el-icon>
|
||||
暂停中
|
||||
</el-button>
|
||||
<el-button :type="ActiveStatue==='success'?'primary':'danger'" :icon="Right"
|
||||
v-if="ActiveStatue === 'success'||ActiveStatue==='error'||ActiveStatue==='test_init_fail'||ActiveStatue==='connect_timeout'"
|
||||
@click="nextStep">
|
||||
@@ -377,8 +377,8 @@ watch(ActiveStatue, function (newValue, oldValue) {
|
||||
const sendPause = () => {
|
||||
console.log('发起暂停请求')
|
||||
|
||||
ActiveStatue.value = 'paused_ing'
|
||||
pauseTest()
|
||||
showFullScreenLoading()
|
||||
}
|
||||
const sendResume = () => {
|
||||
console.log('发起继续检测请求')
|
||||
|
||||
Reference in New Issue
Block a user