Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
Project
Project
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
耿迪迪
gassafety-progress
Commits
ae3be04e
Commit
ae3be04e
authored
Mar 02, 2022
by
纪泽龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改infowindowComponent的判断
parent
27abfa50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
map.js
gassafetyprogress-web/src/utils/mapClass/map.js
+5
-3
No files found.
gassafetyprogress-web/src/utils/mapClass/map.js
View file @
ae3be04e
/*
/*
* @Author: your name
* @Author: your name
* @Date: 2022-01-11 13:45:12
* @Date: 2022-01-11 13:45:12
* @LastEditTime: 2022-03-0
1 17:25:23
* @LastEditTime: 2022-03-0
2 10:53:47
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: /test/hello-world/src/utils/mapClass.js
* @FilePath: /test/hello-world/src/utils/mapClass.js
...
@@ -510,7 +510,8 @@ export class EditorMap {
...
@@ -510,7 +510,8 @@ export class EditorMap {
// 如果infowindow是打开的,就改变里面的数据,必须是用户才行
// 如果infowindow是打开的,就改变里面的数据,必须是用户才行
if
(
if
(
this
.
infowindowComponent
&&
this
.
infowindowComponent
&&
this
.
infowindowComponent
.
deviceData
.
iconType
==
6
this
.
infowindowComponent
.
deviceData
.
iconType
==
6
&&
this
.
infowindowComponent
.
deviceData
.
userId
==
obj
.
userId
)
{
)
{
this
.
infowindowComponentChange
(
obj
);
this
.
infowindowComponentChange
(
obj
);
}
}
...
@@ -552,7 +553,8 @@ export class EditorMap {
...
@@ -552,7 +553,8 @@ export class EditorMap {
// 如果infowindow是打开的
// 如果infowindow是打开的
if
(
if
(
this
.
infowindowComponent
&&
this
.
infowindowComponent
&&
this
.
infowindowComponent
.
deviceData
.
iconType
==
6
this
.
infowindowComponent
.
deviceData
.
iconType
==
6
&&
this
.
infowindowComponent
.
deviceData
.
userId
==
obj
.
userId
)
{
)
{
this
.
infowindowComponentChange
(
deviceData
);
this
.
infowindowComponentChange
(
deviceData
);
}
}
...
...
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