-
Notifications
You must be signed in to change notification settings - Fork 324
Open
Description
这样写是错误的
class StatusStore extends Reflux.Store {
page: string
constructor() {
super();
this.listenables = pageAction;
this.page = location.hash.replace('#', '')
}
onPush(page) {
if (this.page === page) {
return false;
}
LeftMeunAction.hide();
this.page = page;
hashHistory.push(page);
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels