Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
map-demo
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2023-05-29 18:27:42 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3ea88596d2fb4b856d717deae99625087889b891
3ea88596
1 parent
5a8da28c
fix
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
src/views/index.vue
src/views/index.vue
View file @
3ea8859
<!--
* @Date: 2023-05-19 14:54:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-05-29 1
7:29:12
* @LastEditTime: 2023-05-29 1
8:12:10
* @FilePath: /map-demo/src/views/index.vue
* @Description: 文件描述
-->
...
...
@@ -68,7 +68,6 @@
import coord from '@/common/tiantan_v2'
// import AMap from 'AMap'
import _ from 'lodash';
import { makeRequiredProp } from 'vant/lib/utils';
const GPS = {
PI: 3.14159265358979324,
...
...
@@ -355,7 +354,7 @@ export default {
content: infoWindowContent
});
if (clickListener) {
makeRequiredProp
.off('click', clickListener)
infoWindow
.off('click', clickListener)
}
// 绑定景点的点击事件 - 文字出现才能触发
var clickListener = marker.on('click', (e) => {
...
...
Please
register
or
login
to post a comment