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
2024-04-30 16:45:02 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e8d1c9f9bfb60ed8b5060be932d666d8106960b5
e8d1c9f9
1 parent
cbf6091a
fix Bob要求去除预警显示
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
src/views/index.vue
src/views/index.vue
View file @
e8d1c9f
<!--
* @Date: 2023-05-19 14:54:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-0
3-22 16:38:53
* @LastEditTime: 2024-0
4-30 16:43:10
* @FilePath: /map-demo/src/views/index.vue
* @Description: 公众地图主体页面
-->
...
...
@@ -249,7 +249,8 @@ export default {
async mounted() {
const code = this.$route.query.id;
const { data } = await mapAPI({ i: code });
data.list = data.list.concat(map_alert);
// TAG:预警显示
// data.list = data.list.concat(map_alert);
this.navBarList = data.list; // 底部导航条
this.mapTiles = data.level; // 获取图层
this.navKey = data.list[0]['id']; // 默认选中 第一个 id
...
...
Please
register
or
login
to post a comment