Aktualisieren src/jsx/ui/student.jsx
This commit is contained in:
@@ -9,7 +9,7 @@ export class Student extends React.Component{
|
||||
username:this.camelize(props.username),
|
||||
name:props.username,
|
||||
cl:props.cl,
|
||||
img_url:'/data/class/'+props.cl+'/'+props.username+'.svg',
|
||||
img_url:'data/class/'+props.cl+'/'+props.username+'.svg',
|
||||
num:props.i,
|
||||
dis:""
|
||||
}
|
||||
@@ -27,7 +27,7 @@ export class Student extends React.Component{
|
||||
return x.join(' ');
|
||||
}
|
||||
onErr(){
|
||||
var url = '/data/class/student.svg';
|
||||
var url = 'data/class/student.svg';
|
||||
this.setState({img_url:url});
|
||||
}
|
||||
appear(){
|
||||
|
||||
Reference in New Issue
Block a user