微调
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
暂停中
|
||||
</el-button>
|
||||
<el-button :type="ActiveStatue==='success'?'primary':'danger'" :icon="Right"
|
||||
v-if="nextStepText!== '下一步' && (ActiveStatue === 'success'||ActiveStatue==='error'||ActiveStatue==='test_init_fail'||ActiveStatue==='connect_timeout'||ActiveStatue==='pause_timeout')"
|
||||
v-if="nextStepText !== '下一步' && (ActiveStatue === 'success'||ActiveStatue==='error'||ActiveStatue==='test_init_fail'||ActiveStatue==='connect_timeout'||ActiveStatue==='pause_timeout')"
|
||||
@click="nextStep">
|
||||
{{ nextStepText }}
|
||||
</el-button>
|
||||
@@ -178,10 +178,10 @@ const handleSubmit = () => {
|
||||
let deviceIds = checkStore.devices.map((item) => item.deviceId)
|
||||
let planId = checkStore.plan.id
|
||||
|
||||
if (!dataSocket.socketServe.connected) {
|
||||
ElMessage.error('webSocket连接中断!')
|
||||
return
|
||||
}
|
||||
// if (!dataSocket.socketServe.connected) {
|
||||
// ElMessage.error('webSocket连接中断!')
|
||||
// return
|
||||
// }
|
||||
switch (stepsActive.value) {
|
||||
case 1:
|
||||
startPreTest({
|
||||
@@ -294,6 +294,7 @@ watch(ActiveStatue, function (newValue, oldValue) {
|
||||
nextStep() // 实现自动点击,进入下一个测试内容
|
||||
handleSubmit()
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
const sendPause = () => {
|
||||
|
||||
Reference in New Issue
Block a user