think-config
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -71,5 +71,5 @@ const helper = require('think-helper'); | ||
} | ||
return (name, value, m) => { | ||
return (name, value, m = 'common') => { | ||
let conf = configInstances.common; | ||
if(isMultiModule){ | ||
if(isMultiModule && m){ | ||
conf = configInstances[m]; | ||
@@ -76,0 +76,0 @@ } |
{ | ||
"name": "think-config", | ||
"description": "config for ThinkJS", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "welefen", |
7047