Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
liyeyun
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
cfld-frontend
liyeyun
Commits
c2ec1a23
Commit
c2ec1a23
authored
Dec 16, 2023
by
shilei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改地图代理配置
parent
b9ff905a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
MapView.vue
src/components/map/MapView.vue
+2
-1
main.ts
src/main.ts
+2
-2
No files found.
src/components/map/MapView.vue
View file @
c2ec1a23
...
...
@@ -102,8 +102,9 @@ const props = defineProps<{
containerClass
?:
string
;
}
>
();
const
infoList
=
ref
<
any
[]
>
([]);
const
{
VITE_BASE_USER_URL
}
=
import
.
meta
.
env
;
(
window
as
any
).
_AMapSecurityConfig
=
{
serviceHost
:
'http://test.api.liyeyun.com/_AMapService'
,
serviceHost
:
`
${
VITE_BASE_USER_URL
}
/_AMapService`
,
};
const
handleSearch
=
(
keyWords
:
string
,
radius
:
Number
,
type
:
String
)
=>
{
activeTab
.
value
=
keyWords
;
...
...
src/main.ts
View file @
c2ec1a23
...
...
@@ -18,7 +18,7 @@ app.use(ElementPlus, {
});
app
.
mount
(
'#app'
);
const
{
VITE_BASE_USER_URL
}
=
import
.
meta
.
env
;
(
window
as
any
).
_AMapSecurityConfig
=
{
serviceHost
:
'http://test.api.liyeyun.com/_AMapService'
,
serviceHost
:
`
${
VITE_BASE_USER_URL
}
/_AMapService`
,
};
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