Commit 100d613a authored by 郭志伟's avatar 郭志伟

fix: 调整判断

parent 3ca57b09
...@@ -13,7 +13,7 @@ if (EASY_ENV_IS_BROWSER) { ...@@ -13,7 +13,7 @@ if (EASY_ENV_IS_BROWSER) {
const apolloCfg = window.apollo || window.__INITIAL_STATE__.apollo; const apolloCfg = window.apollo || window.__INITIAL_STATE__.apollo;
if (apolloCfg) { if (apolloCfg) {
for (const key in apolloCfg) { for (const key in apolloCfg) {
if (Object.hasOwnProperty.call(apolloCfg, key)) { if (apolloCfg[key]) {
hostMap[key] = apolloCfg[key]; hostMap[key] = apolloCfg[key];
} }
} }
......
...@@ -13,7 +13,7 @@ if (EASY_ENV_IS_BROWSER) { ...@@ -13,7 +13,7 @@ if (EASY_ENV_IS_BROWSER) {
const apolloCfg = window.apollo || window.__INITIAL_STATE__.apollo; const apolloCfg = window.apollo || window.__INITIAL_STATE__.apollo;
if (apolloCfg) { if (apolloCfg) {
for (const key in apolloCfg) { for (const key in apolloCfg) {
if (Object.hasOwnProperty.call(apolloCfg, key)) { if (apolloCfg[key]) {
hostMap[key] = apolloCfg[key]; hostMap[key] = apolloCfg[key];
} }
} }
......
...@@ -1501,9 +1501,9 @@ ...@@ -1501,9 +1501,9 @@
} }
}, },
"@qg/citrus-ui": { "@qg/citrus-ui": {
"version": "0.1.4-beta3", "version": "0.1.4-beta4",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.1.4-beta3.tgz", "resolved": "http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.1.4-beta4.tgz",
"integrity": "sha512-g9Ts6wc1nbSwHRvtT/fq05KbtojNJO4mAjf+VbrfKPPoNKYKGuGjuKMN8ExJR7KbVZRI0hMX21rhpQeWnYKePQ==", "integrity": "sha512-9Vv4bdrAQkti1tu3UfMqdK9O3j91naCWVQKiIjGijqRaw1omPLE58D6WTDcAgYXBG7KqfHNT4KNnuMxF4OXATg==",
"requires": { "requires": {
"@better-scroll/core": "^2.1.1", "@better-scroll/core": "^2.1.1",
"@qg/cherry-ui": "^2.20.19", "@qg/cherry-ui": "^2.20.19",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment