Browse Source

shiyi

release_1.3.0
wenlele 2 years ago
parent
commit
9d2299e43c
  1. 10
      code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx

10
code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx

@ -131,7 +131,15 @@ const VideoPlay = ({ dispatch, actions,
dispatch(openness.getErrorCode({ status: numbers, platform: videoObj.type })).then((res) => {
console.log(res);
if (res.payload.data) {
setWritten(res.payload.data.paraphrase)
if (res.payload.data.paraphraseCustom) {
setWritten(res.payload.data.paraphraseCustom)
} else {
if (res.payload.data.describe) {
setWritten(res.payload.data.describe)
} else {
setWritten('视频异常,问题处理中...')
}
}
} else {
setWritten('视频异常,问题处理中...')
}

Loading…
Cancel
Save