Commit 5d772c34 authored by 邓晓峰's avatar 邓晓峰

chore: 升级kit_global_config

parent 84559995
Pipeline #40660 skipped with stages
...@@ -17,7 +17,7 @@ export default { ...@@ -17,7 +17,7 @@ export default {
// }, // },
{ {
name: 'civ_pandawork', name: 'civ_pandawork',
entry: `//${window.location.hostname}:8080/civ_pandawork`, entry: `//${window.location.hostname}:8081/civ_pandawork`,
container: '#micro-container', container: '#micro-container',
activeRule: '/civbase/civ_pandawork', activeRule: '/civbase/civ_pandawork',
}, },
......
...@@ -16748,9 +16748,9 @@ ...@@ -16748,9 +16748,9 @@
} }
}, },
"kit_global_config": { "kit_global_config": {
"version": "1.0.37", "version": "1.0.39",
"resolved": "https://g.civnet.cn:4873/kit_global_config/-/kit_global_config-1.0.37.tgz", "resolved": "https://g.civnet.cn:4873/kit_global_config/-/kit_global_config-1.0.39.tgz",
"integrity": "sha512-Te8jwqxDqFy2nmzl7cTCAEZ+jciyBzjrO3wa70XthPTxFD8IGlRmnNRC+nj9gWhUGl/5nOIMz5q8yX2hkAgyhA==", "integrity": "sha512-15WzXI81DED8cCjK62v2KLkofeI5brZW6CtCrD1m6a8oAYw3UKCp+W8O3lBJV0RrokKWQPE6cE6dC9eNNl14QQ==",
"requires": { "requires": {
"@babel/runtime": "^7.10.5", "@babel/runtime": "^7.10.5",
"js-base64": "^3.5.2", "js-base64": "^3.5.2",
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
"immutable": "^4.0.0-rc.12", "immutable": "^4.0.0-rc.12",
"js-base64": "^3.5.2", "js-base64": "^3.5.2",
"js-cookie": "^2.2.1", "js-cookie": "^2.2.1",
"kit_global_config": "^1.0.37", "kit_global_config": "^1.0.39",
"kit_logger": "^1.0.2", "kit_logger": "^1.0.2",
"kit_utils": "^1.3.11", "kit_utils": "^1.3.11",
"lodash": "4.17.11", "lodash": "4.17.11",
......
...@@ -60,7 +60,8 @@ export const initGlobalConfig = (loader, store, render) => { ...@@ -60,7 +60,8 @@ export const initGlobalConfig = (loader, store, render) => {
}) })
.then(res => { .then(res => {
if (res) { if (res) {
store.dispatch(actionCreators.getConfig(Object.assign({}))) store.dispatch(actionCreators.getConfig(Object.assign({})));
createStoreage.remove(`__PANDA_STORE__${location.hostname}`);
const data = res; const data = res;
if (!data.client) { if (!data.client) {
data.client = params.getParams('client') || 'city'; data.client = params.getParams('client') || 'city';
......
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