This commit is contained in:
wyw 2026-04-02 14:28:51 +08:00
parent fef5ced63e
commit b9fe9b2402

View File

@ -332,7 +332,7 @@ class SE018PaperPage extends React.Component {
VIEWSEC = checkV[0].VIEWSEC VIEWSEC = checkV[0].VIEWSEC
} }
} }
if (this.state.filepath.indexOf('/VIDEO/') > -1) { if (this.state.filepath.indexOf('/VIDEO/') > -1) {
this.state.isViedo = true this.state.isViedo = true
this.state.filepath = configc.videoServerHost + this.state.filepath this.state.filepath = configc.videoServerHost + this.state.filepath
@ -573,7 +573,7 @@ class SE018PaperPage extends React.Component {
ISEND: false, ISEND: false,
VIEWSEC: parseInt(this.videoRef.current.currentTime) - 1, VIEWSEC: parseInt(this.videoRef.current.currentTime) - 1,
}) })
} else if (!check.ISEND) { } else if (check.length > 0 && !check[0].ISEND) {
this.state.listViewInfo.forEach(e => { this.state.listViewInfo.forEach(e => {
e.VIEWSEC = parseInt(this.videoRef.current.currentTime) - 1 e.VIEWSEC = parseInt(this.videoRef.current.currentTime) - 1
}) })