摘要:
Function.prototype.mycall = function() { const [context,...args] = arguments context = context||window context.__proto__.fn = this context.fn(...args) 阅读全文
posted @ 2020-03-24 12:10
昔梦呀呀呀
阅读(183)
评论(0)
推荐(0)
摘要:
router-link在vue中用来做路由跳转,等于是封装过的a标签,也可以转换成别的标签,最近项目中遇到一个问题,app.js中导入主页home组件 1 <div id="app"> 2 <div id="nav"> 3 <Home></Home> 4 </div> 5 <router-view 阅读全文
posted @ 2020-03-07 15:38
昔梦呀呀呀
阅读(521)
评论(0)
推荐(0)