Abiel1024 / blog

Abiel's blog
8 stars 1 forks source link

Vuex源码分析三(ModuleCollection与Module) #12

Open Abiel1024 opened 6 years ago

Abiel1024 commented 6 years ago

ModuleCollection与Module

在第二部分中声明了this._modules = new ModuleCollection(options) 因为在installModule和resetStoreVM的时候后面经常会调用_modules实例的一些方法,所以还是得先了解下_modules到底是什么样的。