Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
then this page will automatically refresh to show the new page component you created.
<p></p>
<h2>Your Routes</h2>
{do {
if (this.state.loading) {
<div>Loading routes...</div>;
} else {
this.renderRoutes(this.state.routes);
}
}}
);
}
}
export default withRouter(NotFound);
Users
Home
404
<a href="https://github.com/dvajs/dva">dva</a>
);
}
export default withRouter(Header);
{children}
)
}
AuthRequiredLayout.propTypes = {
children: PropTypes.any
}
export default withRouter(AuthRequiredLayout)
<div>这是TitleBar</div>
<div>
<div>这是菜单</div>
<div>
{children}
</div>
</div>
);
};
export default withRouter(Company);
loading={action === 'create' ? submitting : updating}
type="primary"
htmlType="submit"
style={{ marginLeft: 8 }}
>
);
}
}
export default withRouter(CreateAgent);