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-07-19 16:44:32 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1ff1a0ef44857caabf6c3c2b2372e850989d2fa5
1ff1a0ef
1 parent
7b8b636b
fix
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
.env
components.d.ts
src/common/my_router.js
.env
View file @
1ff1a0e
...
...
@@ -11,7 +11,7 @@ VITE_PROXY_PREFIX = /srv/
VITE_OUTDIR = map
# 是否开启调试
VITE_CONSOLE =
1
VITE_CONSOLE =
0
# appID相关
VITE_APPID=微信appID
...
...
components.d.ts
View file @
1ff1a0e
...
...
@@ -16,8 +16,6 @@ declare module '@vue/runtime-core' {
InfoWindowYard
:
typeof
import
(
'./src/components/InfoWindowYard.vue'
)[
'default'
]
RouterLink
:
typeof
import
(
'vue-router'
)[
'RouterLink'
]
RouterView
:
typeof
import
(
'vue-router'
)[
'RouterView'
]
VanCell
:
typeof
import
(
'vant/es'
)[
'Cell'
]
VanCellGroup
:
typeof
import
(
'vant/es'
)[
'CellGroup'
]
VanCol
:
typeof
import
(
'vant/es'
)[
'Col'
]
VanDialog
:
typeof
import
(
'vant/es'
)[
'Dialog'
]
VanIcon
:
typeof
import
(
'vant/es'
)[
'Icon'
]
...
...
src/common/my_router.js
View file @
1ff1a0e
...
...
@@ -3,9 +3,13 @@ const testInfo = [
id
:
0
,
path
:
[
[
120.587882
,
31.312884
],
[
120.587899
,
31.312781
],
[
120.588241
,
31.312826
],
[
120.588164
,
31.31305
],
[
120.587856
,
31.313099
],
[
120.587823
,
31.313276
],
[
120.587811
,
31.313508
],
[
120.587736
,
31.314093
],
[
120.5875
,
31.31407
],
[
120.587103
,
31.314234
],
[
120.586912
,
31.314195
],
...
...
@@ -17,9 +21,13 @@ const testInfo = [
id
:
1
,
path
:
[
[
120.587882
,
31.312884
],
[
120.587899
,
31.312781
],
[
120.588241
,
31.312826
],
[
120.588164
,
31.31305
],
[
120.587856
,
31.313099
],
[
120.587823
,
31.313276
],
[
120.587811
,
31.313508
],
[
120.587736
,
31.314093
],
[
120.5875
,
31.31407
],
[
120.58769
,
31.314535
],
[
120.587352
,
31.314496
],
...
...
@@ -36,9 +44,13 @@ const testInfo = [
id
:
2
,
path
:
[
[
120.587882
,
31.312884
],
[
120.587899
,
31.312781
],
[
120.588241
,
31.312826
],
[
120.588164
,
31.31305
],
[
120.587856
,
31.313099
],
[
120.587823
,
31.313276
],
[
120.587811
,
31.313508
],
[
120.587736
,
31.314093
],
[
120.587985
,
31.31411
],
[
120.58769
,
31.314535
],
[
120.58798
,
31.314679
],
...
...
Please
register
or
login
to post a comment