提交 ac4ef3fd 编写于 作者: A Anna Bodnia

fixes #3045 order of configs inheratance

上级 a068f782
......@@ -81,7 +81,7 @@ module.exports = function SwaggerUI(opts) {
}
let localConfig = system.specSelectors.getLocalConfig ? system.specSelectors.getLocalConfig() : {}
let mergedConfig = deepExtend({}, constructorConfig, localConfig, fetchedConfig || {}, queryConfig)
let mergedConfig = deepExtend({}, localConfig, constructorConfig, fetchedConfig || {}, queryConfig)
store.setConfigs(filterConfigs(mergedConfig))
if (fetchedConfig !== null) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册