update 首页
This commit is contained in:
@@ -17,7 +17,10 @@ export default class Container extends Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
const className = this.getMode(this.props.mode)
|
||||
let className = this.getMode(this.props.mode)
|
||||
if (this.props.className) {
|
||||
className += ` ${this.props.className}`
|
||||
}
|
||||
|
||||
return (
|
||||
<section className={className}>{this.props.children}</section>
|
||||
|
||||
Reference in New Issue
Block a user