定义和用法: ajax() 方法通过 HTTP 请求加载远程数据。 该方法是 jQuery 底层 AJAX 实现。...
1.引入vue,引入jQuery(因为等下用Ajax请求数据用到jQuery) 如: