diff --git a/public/react/src/common/course/WordsBtn.js b/public/react/src/common/course/WordsBtn.js index 698da6d5f..f4167bb80 100644 --- a/public/react/src/common/course/WordsBtn.js +++ b/public/react/src/common/course/WordsBtn.js @@ -8,12 +8,13 @@ class WordsBtn extends Component { } render() { - let{to, href,target}=this.props + let{to, href,targets}=this.props return( { - to==undefined ? - {this.props.children} + to==undefined&&targets==undefined ? + {this.props.children}: + target!=undefined? {this.props.children} : {this.props.children} } diff --git a/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js b/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js index fa3a29542..438c07aeb 100644 --- a/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js +++ b/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js @@ -1021,6 +1021,7 @@ class Studentshavecompletedthelist extends Component { >-- : {record.finalscore} } @@ -1211,6 +1212,7 @@ class Studentshavecompletedthelist extends Component { >-- : {record.finalscore} } diff --git a/public/react/src/modules/courses/poll/PollDetailTabFirst.js b/public/react/src/modules/courses/poll/PollDetailTabFirst.js index cc1a94bc0..a03328c7a 100644 --- a/public/react/src/modules/courses/poll/PollDetailTabFirst.js +++ b/public/react/src/modules/courses/poll/PollDetailTabFirst.js @@ -228,7 +228,7 @@ class PollDetailTabFirst extends Component{ width:120, render:(operation,item,index)=>{ return( - item.status == 1 ? 查看:-- + item.status == 1 ? 查看:-- ) } }];