摘要:
1、请求方式 axios(config) // 发送 POST 请求 axios({ method: 'post', url: '/user/12345', data: { firstName: 'Fred', lastName: 'Flintstone' } }); View Code 别名请求 阅读全文
posted @ 2020-08-20 23:00
北冥雪
阅读(162)
评论(0)
推荐(0)
摘要:
Vuex作用 自己实现变量共享可以通过Vue.prototype.shareObj = shareObj 来实现,但不是响应式 Vuex状态管理图 具体代码参考案例6 参考视频:https://www.bilibili.com/video/BV15741177Eh?p=128 1、Vuex的基本结构 阅读全文
posted @ 2020-08-20 17:41
北冥雪
阅读(172)
评论(0)
推荐(0)
摘要:
参考视频:https://www.bilibili.com/video/BV15741177Eh?p=125 回调地狱 setTimeout(() => { console.log("Hello World"); setTimeout(() => { console.log("Hello Vue") 阅读全文
posted @ 2020-08-20 17:40
北冥雪
阅读(224)
评论(0)
推荐(0)

浙公网安备 33010602011771号