vue2.0使用axios及其引入方式 2018-02-28 本文已影响27人 余生社会 在main.js中 import axios from 'axios' Vue.prototype.$ajax = axios