读vue源码(1)

gobal-api/index.jsjavascript initMixin(Vue) 对Vue.mixin方法进行定义,参数为要混入到Vue.options对象的对象。html Vue.mixin = function (mixin: Object) { this.options = mergeOptions(this.options, mixin) return this
相关文章
相关标签/搜索