在全局使用aixos,在main.js中这样写

Vue.prototype.$http = axios

使用方法this.$http.get(url)

在某个XXX.vue


Logo

前往低代码交流专区

更多推荐