Commit d625af18 authored by lihonglin's avatar lihonglin

feat: 地图参数添加

parent 0fe4f166
Pipeline #86266 passed with stages
...@@ -553,7 +553,7 @@ class Login { ...@@ -553,7 +553,7 @@ class Login {
self.updateConfig && self.updateConfig(self.globalConfig); self.updateConfig && self.updateConfig(self.globalConfig);
} }
self.getProjectItems().then(res => { self.getProjectItems().then((res) => {
window.subSysCfg = {}; window.subSysCfg = {};
self.globalConfig = Object.assign(self.globalConfig, { self.globalConfig = Object.assign(self.globalConfig, {
mapsettings: res, mapsettings: res,
...@@ -742,7 +742,7 @@ class Login { ...@@ -742,7 +742,7 @@ class Login {
}); });
} }
} }
this.globalConfig.areasettings = {... this.globalConfig.mapsettings.areasettings} this.globalConfig.mapsettings.initareasettings = {... this.globalConfig.mapsettings.areasettings}
if (layer.areaName) { if (layer.areaName) {
this.globalConfig.mapsettings.areasettings.areaName = layer.areaName; this.globalConfig.mapsettings.areasettings.areaName = layer.areaName;
} }
......
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