会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小肥猪。
2019年7月26日
vue教程(六)--axios介绍(axios发送get post请求)
摘要: 一、取消请求 const cancelToken = axios.CancelToken const source = cancelToken.source() //创建请求标识 this.source = source //将标识存储到vue对象 axios的请求配置config中配置属性canc
阅读全文
posted @ 2019-07-26 15:53 小肥猪。
阅读(969)
评论(0)
推荐(0)
vue教程(五)--路由router介绍
摘要: 一、html页面中如何使用 1、引入 vue-router.js 2、安装插件 Vue.use(VueRouter) 3、创建路由对象 var router = new VueRouter({ // 4、配置路由 routes:[{ path:'/login', component:Login //
阅读全文
posted @ 2019-07-26 10:10 小肥猪。
阅读(636)
评论(0)
推荐(0)
vue教程(四)--其他实用用法补充
摘要: vue教程
阅读全文
posted @ 2019-07-26 08:50 小肥猪。
阅读(190)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告