我的表单的 webshims 在初始页面加载时工作正常,但在我导航到另一个页面后就不行了。
我已经尝试调用updatePolyfill
处理程序,但它不能解决问题。
$.webshim.setOptions ...
$.webshim.polyfill('forms')
// none of these fixes the issue
$(document).on "page:load", ->
$(this).updatePolyfill()
$('body').updatePolyfill()
$('form').updatePolyfill()
$.webshim.polyfill('forms')
$(document).ready ->
// same deal (using jquery.turbolinks)
离开初始页面后如何加载垫片?