diff --git a/src/components/CustomPages/SE/SE018PaperPage.js b/src/components/CustomPages/SE/SE018PaperPage.js index b9ba962..5a57569 100644 --- a/src/components/CustomPages/SE/SE018PaperPage.js +++ b/src/components/CustomPages/SE/SE018PaperPage.js @@ -332,7 +332,7 @@ class SE018PaperPage extends React.Component { VIEWSEC = checkV[0].VIEWSEC } } - + if (this.state.filepath.indexOf('/VIDEO/') > -1) { this.state.isViedo = true this.state.filepath = configc.videoServerHost + this.state.filepath @@ -573,7 +573,7 @@ class SE018PaperPage extends React.Component { ISEND: false, VIEWSEC: parseInt(this.videoRef.current.currentTime) - 1, }) - } else if (!check.ISEND) { + } else if (check.length > 0 && !check[0].ISEND) { this.state.listViewInfo.forEach(e => { e.VIEWSEC = parseInt(this.videoRef.current.currentTime) - 1 })