9d048f3e by xiaomiao

--no commit message

1 parent 5c223a0a
......@@ -164,7 +164,7 @@
...mapGetters(["sidebar", "dicData"]),
logoName () {
return (
this.dicData["sysCode"] && this.dicData["sysCode"].filter((item) => { return item.DCODE == "areaMap" })
this.dicData["sysCode"].filter((item) => { return item.DCODE == "areaMap" })
);
},
},
......@@ -172,11 +172,8 @@
// 根据行政区代码匹配行政区
getDistrictcode () {
this.mapjson = ""
if (this.logoName[0].DNAME == "hanzhong") {
this.mapjson = "hanzhong";
require(`@/common/map/${this.mapjson}.js`);
} else {
this.mapjson = "yushu";
if (this.logoName[0].DNAME) {
this.mapjson = this.logoName[0].DNAME;
require(`@/common/map/${this.mapjson}.js`);
}
},
......