Commit 6c9cf38b authored by 邓晓峰's avatar 邓晓峰

fix: 修复获取网关配置是否开启

parent 77c7bddd
Pipeline #38886 passed with stages
in 7 minutes 24 seconds
......@@ -110,7 +110,7 @@ const initGlobalConfig = () => {
appService.getWateWayConfig().then(res => {
const hasGateWay =
res && res.data && isString(res.data) ? JSON.parse(res.data) : res.data;
if (res.code === 0) {
if (res.code === 0 && res.data === 'true') {
store.dispatch(
actionCreators.getConfig(
Object.assign({}, window.globalConfig, {
......
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