diff --git a/public/react/src/modules/courses/videostatistics/Videostatistics.js b/public/react/src/modules/courses/videostatistics/Videostatistics.js index 8d88492b1..52d69b0fb 100644 --- a/public/react/src/modules/courses/videostatistics/Videostatistics.js +++ b/public/react/src/modules/courses/videostatistics/Videostatistics.js @@ -12,8 +12,8 @@ class Videostatistics extends Component{ super(props); this.state={ watch_staticsdata:[], - tisticsbool:true, - tisid:0, + tisticsbool:false, + tisid:null, } diff --git a/public/react/src/modules/courses/videostatistics/component/Videostatisticscomtwo.js b/public/react/src/modules/courses/videostatistics/component/Videostatisticscomtwo.js index 4432f36c5..80122b60e 100644 --- a/public/react/src/modules/courses/videostatistics/component/Videostatisticscomtwo.js +++ b/public/react/src/modules/courses/videostatistics/component/Videostatisticscomtwo.js @@ -50,7 +50,8 @@ class Videostatisticscom extends Component { className: 'font-14', width: '98px', render: (text, record) => ( - <span style={{width: '98px'}}>{record.is_finished}</span> + <span style={{width: '98px'}}>{record.is_finished===true? + <span style={{color:"#5091FF"}}>是</span>:<span style={{color:"#E02020"}}>否</span>}</span> ), }, {