1、$route、$router
this.$router.push會往history棧中添加一個新的記錄。。詳細見vue官方文檔https://router.vuejs.org/zh/guide/essentials/navigation.html
route相當於當前正在跳轉的路由對象。。可以從里面獲取name,path,params,query等。。
打印this.$route和this.$router。
2、$http
vue中的$http服務 需要引入一個叫vue-resource.js的文件,因為vue.js中沒有$http服務。
3、$refs
這篇文章介紹的很詳細 https://www.cnblogs.com/goloving/p/9404099.html
4、$nextTick
原理:https://www.cnblogs.com/gaosirs/p/10595326.html
用法:https://www.cnblogs.com/chaoyuehedy/p/8985425.html
5.Vue v.2.4中新增的$attrs及#listeners屬性的使用
網址:https://www.jb51.net/article/132371.htm?tdsourcetag=s_pctim_aiomsg
6.$el
使用 this.$el 可以獲取到當前組件的dom
-------------------------------------------------------------后續持續更新
