Commit 3ca57b09 authored by 郭志伟's avatar 郭志伟

fix: 代码逻辑修改

parent f35db025
......@@ -11,7 +11,7 @@ const hostMap = {
if (EASY_ENV_IS_BROWSER) {
const apolloCfg = window.apollo || window.__INITIAL_STATE__.apollo;
if (!apolloCfg) {
if (apolloCfg) {
for (const key in apolloCfg) {
if (Object.hasOwnProperty.call(apolloCfg, key)) {
hostMap[key] = apolloCfg[key];
......
const protocol = EASY_ENV_IS_BROWSER ? window.location.protocol : 'https';
// const protocol = EASY_ENV_IS_BROWSER ? window.location.protocol : 'https';
// export default {
// ...(EASY_ENV_IS_BROWSER ? window.apollo : {}),
// shenceUrl: `${protocol}//bn.xyqb.com/sa?project=production`,
// };
const hostMap = {
apiHost: `${protocol}//quantum-blocks-test1.liangkebang.net/`,
h5Host: '${protocol}//quantum-h5-test1.liangkebang.net/',
......@@ -17,7 +11,7 @@ const hostMap = {
if (EASY_ENV_IS_BROWSER) {
const apolloCfg = window.apollo || window.__INITIAL_STATE__.apollo;
if (!apolloCfg) {
if (apolloCfg) {
for (const key in apolloCfg) {
if (Object.hasOwnProperty.call(apolloCfg, key)) {
hostMap[key] = apolloCfg[key];
......
......@@ -1501,9 +1501,9 @@
}
},
"@qg/citrus-ui": {
"version": "0.1.4-beta2",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.1.4-beta2.tgz",
"integrity": "sha512-cso1pajVMdcvQZYI60jGioV/hdum3+FPt9HE8/CVKijWB0GWlZ2AqCIROJfTdLApTshEfWj9QaO5ZQUBehv5UA==",
"version": "0.1.4-beta3",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.1.4-beta3.tgz",
"integrity": "sha512-g9Ts6wc1nbSwHRvtT/fq05KbtojNJO4mAjf+VbrfKPPoNKYKGuGjuKMN8ExJR7KbVZRI0hMX21rhpQeWnYKePQ==",
"requires": {
"@better-scroll/core": "^2.1.1",
"@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