feat: 调整列表载入顺序
This commit is contained in:
parent
9819a82265
commit
1735417887
@ -39,11 +39,11 @@ var help = [
|
||||
|
||||
function load() {
|
||||
task.async(function () {
|
||||
pluginCache = Object.keys(manager.plugins);
|
||||
JSON.parse(http.get(self.config.center)).data.forEach(function cachePackageName(pkg) {
|
||||
packageCache[pkg.name] = pkg
|
||||
packageNameCache.push(pkg.name)
|
||||
packageCache[pkg.name] = pkg;
|
||||
packageNameCache.push(pkg.name);
|
||||
})
|
||||
pluginCache = Object.keys(manager.plugins)
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user