import { Component } from 'react'
import API from "@/services";
import './app.scss'

class App extends Component {
  constructor(props: any) {
    super(props)
  }
  componentWillMount() {
    API.login()?.then(res => {
      console.log(res)
    })
  }

  // this.props.children 是将要会渲染的页面
  render () {
    return this.props.children
  }
}

export default App
