修改 终端运行评价
This commit is contained in:
@@ -57,7 +57,7 @@ const open = async (data: any) => {
|
||||
}
|
||||
const query = () => {
|
||||
val.value += 1
|
||||
if (val.value == 6) {
|
||||
if (val.value == 7) {
|
||||
clearInterval(time.value)
|
||||
time.value = null
|
||||
val.value = 0
|
||||
@@ -67,16 +67,16 @@ const query = () => {
|
||||
item.text = '推送超时!'
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
List.value.forEach(async (item: any) => {
|
||||
getPushResult({
|
||||
guid: item.guid
|
||||
}).then((res: any) => {
|
||||
item.result = res.data.code
|
||||
item.text = res.data.result
|
||||
} else {
|
||||
List.value.forEach(async (item: any) => {
|
||||
getPushResult({
|
||||
guid: item.guid
|
||||
}).then((res: any) => {
|
||||
item.result = res.data.code
|
||||
item.text = res.data.result
|
||||
})
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
defineExpose({ open })
|
||||
|
||||
Reference in New Issue
Block a user