我execute(TupleWindow window) {
//Emit the entire window as one tuple to next bolt
List<Tuple> tuples = window.get();
Values values = new Values(new ArrayList<Tuple>(tuples));
collector.emit(tuples, values);
}
引起错误后,“反应路由器”之类的东西似乎有问题。
按登录按钮时,将导致错误。
run-build
登录组件
return (
this.state.getuser != null &&
<div>
<Switch>
<LoginRoute exact path="/" component={LoginPage} />
<SystemRoute exact path="/home" component={HomePage} />
<SystemRoute exact path="/order" component={OrderPage} />
<SystemRoute exact path="/cook" component={CookPage} />
<SystemRoute exact path="/getmoney" component={GetmoneyPage} />
<SystemRoute exact path="/managemenu" component={ManageMunu} />
<SystemRoute exact path="/profile" component={Profile} />
<Route component={LoginPage} />
</Switch>
</div>
)