Commit 5c227879 authored by wildfirecode13's avatar wildfirecode13

11

parent 035122e7
This diff is collapsed.
...@@ -8,6 +8,9 @@ MD(); ...@@ -8,6 +8,9 @@ MD();
//此处为spark-cli动态生成 //此处为spark-cli动态生成
import Loading from "./pages/loading/loading.jsx"; import Loading from "./pages/loading/loading.jsx";
import Mainpage from "./pages/mainpage/mainpage.jsx"; import Mainpage from "./pages/mainpage/mainpage.jsx";
import Sign from "./components/sign/sign.jsx";
import Select from "./components/select/select.jsx";
import Rule from "./components/rule/rule.jsx";
class App extends Component { class App extends Component {
constructor(props) { constructor(props) {
super(props); super(props);
...@@ -26,6 +29,9 @@ class App extends Component { ...@@ -26,6 +29,9 @@ class App extends Component {
<div> <div>
{page == 'loading' && <Loading data={pagedata} navigateTo={this.navigateTo}></Loading>} {page == 'loading' && <Loading data={pagedata} navigateTo={this.navigateTo}></Loading>}
{page == 'mainpage' && <Mainpage data={pagedata} navigateTo={this.navigateTo}></Mainpage>} {page == 'mainpage' && <Mainpage data={pagedata} navigateTo={this.navigateTo}></Mainpage>}
{/* <Select></Select> */}
<Sign></Sign>
{/* <Rule></Rule> */}
</div> </div>
); );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment