1234
This commit is contained in:
parent
fef5ced63e
commit
b9fe9b2402
@ -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
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user