Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
9d048f3e
authored
2023-02-27 16:28:58 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
5c223a0a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
src/components/Echart/Map/Chart.vue
src/components/Echart/Map/Chart.vue
View file @
9d048f3
...
...
@@ -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/m
ap
/
$
{
this
.
mapjson
}.
js
`);
} else {
this.mapjson = "yushu";
if (this.logoName[0].DNAME) {
this.mapjson = this.logoName[0].DNAME;
require(`
@
/common/m
ap
/
$
{
this
.
mapjson
}.
js
`);
}
},
...
...
Please
register
or
sign in
to post a comment