Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
5dd292ab
Commit
5dd292ab
authored
Jan 08, 2023
by
liuguorong93
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up
parent
1af574de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
src/views/dataJq/mapBox.vue
+8
-3
No files found.
src/views/dataJq/mapBox.vue
View file @
5dd292ab
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<!-- 左下角信息 -->
<!-- 左下角信息 -->
<div
<div
class=
"infoClass"
class=
"infoClass"
v-show=
"
showBack &&
currentInfo && Object.keys(currentInfo).length"
v-show=
"currentInfo && Object.keys(currentInfo).length"
>
>
<div
class=
"topClass"
>
<div
class=
"topClass"
>
<span
class=
"span01"
>
{{
currentInfo
.
name
}}
</span>
<span
class=
"span01"
>
{{
currentInfo
.
name
}}
</span>
...
@@ -213,6 +213,7 @@ export default {
...
@@ -213,6 +213,7 @@ export default {
res
.
data
.
rows
&&
res
.
data
.
rows
&&
res
.
data
.
rows
.
length
res
.
data
.
rows
.
length
)
{
)
{
this
.
currentInfo
=
{};
let
e
=
this
.
provinces
[
i
].
key
;
let
e
=
this
.
provinces
[
i
].
key
;
if
(
e
===
"china"
)
{
if
(
e
===
"china"
)
{
this
.
showBack
=
false
;
this
.
showBack
=
false
;
...
@@ -233,10 +234,14 @@ export default {
...
@@ -233,10 +234,14 @@ export default {
});
});
this
.
myChart
.
on
(
"mouseover"
,
async
(
param
)
=>
{
this
.
myChart
.
on
(
"mouseover"
,
async
(
param
)
=>
{
if
(
levelFlag
===
"2"
||
levelFlag
===
"3"
)
{
if
(
levelFlag
===
"
1"
||
levelFlag
===
"
2"
||
levelFlag
===
"3"
)
{
if
(
this
.
dataArr
&&
this
.
dataArr
.
length
)
{
if
(
this
.
dataArr
&&
this
.
dataArr
.
length
)
{
this
.
dataArr
.
some
((
itemArr
)
=>
{
this
.
dataArr
.
some
((
itemArr
)
=>
{
if
(
param
.
name
.
indexOf
(
itemArr
.
name
)
!=
-
1
)
{
if
(
itemArr
&&
itemArr
.
name
&&
param
.
name
.
indexOf
(
itemArr
.
name
)
!=
-
1
)
{
this
.
currentInfo
=
itemArr
;
this
.
currentInfo
=
itemArr
;
return
true
;
return
true
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment