从Vue的构造函数中可以看到,当我们执行 new Vue() 的时候,只执行了一个 _init 方法。 _init 会根据传入的选项对vue进行初始化。 props、data、生命 ...
確定! 回上一頁