king
2021-03-30 ecbe0dc46ce2b8f607b9afd063104adeb7f10fe8
src/tabviews/home/index.jsx
@@ -16,6 +16,7 @@
  state = {
    loading: true,
    background: sessionStorage.getItem('home_background'),
    view: ''
  }
@@ -56,10 +57,10 @@
  }
  render() {
    const { loading, view } = this.state
    const { loading, view, background } = this.state
    if (loading) {
      return (<Spin className="home-box-spin" size="large" />)
      return (<div className="home-loading-view" style={{background: background}}><Spin className="home-box-spin" size="large" /></div>)
    } else if (view === 'custom') {
      return (<CustomPage MenuID={this.props.MenuID}/>)
    } else {