1qq1
This commit is contained in:
parent
04f132080e
commit
1fb0a0a4dd
|
@ -132,7 +132,7 @@ function Operation2() {
|
|||
student_ID,
|
||||
operateID
|
||||
})
|
||||
const result=detectionSrc.data['result']
|
||||
const result=detectionSrc.data
|
||||
if(result.includes('NO')){
|
||||
alert('连接失败')
|
||||
setTrainScore(0)
|
||||
|
@ -140,7 +140,8 @@ function Operation2() {
|
|||
alert('连接成功')
|
||||
setTrainScore(50)
|
||||
}
|
||||
}catch{
|
||||
}catch(err){
|
||||
console.log(err)
|
||||
alert('detection出错 ')
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import json
|
||||
import traceback
|
||||
|
||||
import dmPython.dmPython
|
||||
|
||||
import yaml
|
||||
from kubernetes import client, config
|
||||
from flask import jsonify
|
||||
|
|
Loading…
Reference in New Issue