自定义布局是自动加载的IS
我已经在layout.hs中创建了一个自定义布局。这适用于与应用程序的其余部分具有不同样式(CSS)和JS不同的报告页面。
通过应用程序中的链接访问报告页面。
问题在于,当降落在报告页面上时,自定义布局(CSS和JS)不会自动应用。它只有在手动刷新后才能开始。
有什么想法要解决这个问题吗?
I have created a custom layout in Layout.hs. This is applied to a reporting page that has a different styling (CSS) and JS from the rest of the application.
The report page is accessed via link in the application.
The problem is that when landing on the report page the custom layout (CSS and JS) isn't applied automatically. It only kicks in after a manual refresh.
Any ideas how to fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论