首页 > jQuery独立模块加载

jQuery独立模块加载

jQuery的ajax源码如下

使用require(['jquery/ajax'])加载一直卡在这个地方报错:

Uncaught TypeError: Cannot read property 'match' of undefined

只能通过grunt custom:-ajax这种方式了么?

【热门文章】
【热门文章】