会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Fen~
博客园
首页
新随笔
联系
订阅
管理
文章分类 -
axios
vue中axios的基本使用
摘要:挂载到vue构造函数的prototype上使用 import axios from 'axios' import Vue from 'vue' Vue.prototype.$http = axios //后续new一个vue实例后,在.vue文件中可以通过this.$http 发起网路请求 创建ax
阅读全文
posted @
2021-09-13 12:25
Fen~
阅读(49)
评论(0)
推荐(0)