暂停时间过长页面效果
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
暂停中
|
||||
</el-button>
|
||||
<el-button :type="ActiveStatue==='success'?'primary':'danger'" :icon="Right"
|
||||
v-if="ActiveStatue === 'success'||ActiveStatue==='error'||ActiveStatue==='test_init_fail'||ActiveStatue==='connect_timeout'"
|
||||
v-if="ActiveStatue === 'success'||ActiveStatue==='error'||ActiveStatue==='test_init_fail'||ActiveStatue==='connect_timeout'||ActiveStatue==='pause_timeout'"
|
||||
@click="nextStep">
|
||||
{{ nextStepText }}
|
||||
</el-button>
|
||||
@@ -372,6 +372,11 @@ watch(ActiveStatue, function (newValue, oldValue) {
|
||||
stepsActiveIndex.value++;
|
||||
nextStepText.value = '连接超时'
|
||||
}
|
||||
if (newValue === 'pause_timeout' && stepsActiveIndex.value === stepsTotalNum.value - 2) {
|
||||
stepsActiveIndex.value++;
|
||||
stepsActiveIndex.value++;
|
||||
nextStepText.value = '结束测试'
|
||||
}
|
||||
})
|
||||
|
||||
const sendPause = () => {
|
||||
|
||||
Reference in New Issue
Block a user