MCPcopy Create free account
hub / github.com/ygs-code/vue / Sub

Function Sub

vue.js:7021–7027  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

7019 }
7020 //实例化 组件 对象
7021 var Sub = function VueComponent(options) {
7022 console.log('==this._init')
7023 console.log(this._init)
7024
7025 // vue中的_init 函数 Vue.prototype._init
7026 this._init(options);
7027 };
7028 //创建一个对象 继承 超类的原型
7029 Sub.prototype = Object.create(Super.prototype);
7030 //让他的构造函数指向回来,防止继承扰乱。

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected