This commit is contained in:
向明星 2024-11-10 18:06:46 +08:00
parent ef83677ac6
commit e3fe1f147e
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ class NewHeader extends Component {
checkLink=(link)=>{
let { settings,} = this.state;
if(link.indexOf("http")>-1){
if(link && link.indexOf("http")>-1){
return link;
}else{
return settings.new_course.default_url + link;