摘要:
1、流程 2、参考文章地址 https://segmentfault.com/a/1190000012336392 3、Vue框架的parseComponent https://github.com/vuejs/vue/blob/dev/src/sfc/parser.js 阅读全文
posted @ 2018-11-16 18:50
孟繁贵
阅读(3407)
评论(0)
推荐(0)
摘要:
1、源代码 2、cached函数,输入参数为函数,返回值为函数。同时使用了闭包。 阅读全文
posted @ 2018-11-16 17:03
孟繁贵
阅读(974)
评论(0)
推荐(0)
摘要:
对象一般使用JSON.stringify来实现字符串化。 阅读全文
posted @ 2018-11-16 16:17
孟繁贵
阅读(354)
评论(0)
推荐(0)
摘要:
vue生命周期钩子个数是:11个。 export const LIFECYCLE_HOOKS = [ 'beforeCreate', 'created', 'beforeMount', 'mounted', 'beforeUpdate', 'updated', 'beforeDestroy', 'd 阅读全文
posted @ 2018-11-16 16:06
孟繁贵
阅读(833)
评论(0)
推荐(0)

浙公网安备 33010602011771号