`
clark1231
  • 浏览: 258141 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

二次页面跳转导致的notice无法显示

阅读更多

在第二次页面跳转前加入flash.keep将信息保留住

Keeps either the entire current flash or a specific flash entry available for the next action:

   flash.keep            # keeps the entire flash
   flash.keep(:notice)   # keeps only the "notice" entry, the rest of the flash is discarded

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics