更新接口类型
This commit is contained in:
parent
48826d52ef
commit
dcde3424b8
|
|
@ -74,7 +74,7 @@ async function runCheck(formEl: FormInstance | undefined) {
|
||||||
isRunningCheck.value = true
|
isRunningCheck.value = true
|
||||||
startTimer()
|
startTimer()
|
||||||
if (ruleForm.function.includes('runAudioRecognition')) {
|
if (ruleForm.function.includes('runAudioRecognition')) {
|
||||||
await runApiAudio('recognize', 'POST', {
|
await runApiAudio('recognize', 'GET', {
|
||||||
path: vidPaths.value[vidPaths.value.indexOf(ruleForm.vidPath)],
|
path: vidPaths.value[vidPaths.value.indexOf(ruleForm.vidPath)],
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue