Showing
1 changed file
with
3 additions
and
2 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2023-05-19 14:54:27 | 2 | * @Date: 2023-05-19 14:54:27 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-03-22 16:38:53 | 4 | + * @LastEditTime: 2024-04-30 16:43:10 |
| 5 | * @FilePath: /map-demo/src/views/index.vue | 5 | * @FilePath: /map-demo/src/views/index.vue |
| 6 | * @Description: 公众地图主体页面 | 6 | * @Description: 公众地图主体页面 |
| 7 | --> | 7 | --> |
| ... | @@ -249,7 +249,8 @@ export default { | ... | @@ -249,7 +249,8 @@ export default { |
| 249 | async mounted() { | 249 | async mounted() { |
| 250 | const code = this.$route.query.id; | 250 | const code = this.$route.query.id; |
| 251 | const { data } = await mapAPI({ i: code }); | 251 | const { data } = await mapAPI({ i: code }); |
| 252 | - data.list = data.list.concat(map_alert); | 252 | + // TAG:预警显示 |
| 253 | + // data.list = data.list.concat(map_alert); | ||
| 253 | this.navBarList = data.list; // 底部导航条 | 254 | this.navBarList = data.list; // 底部导航条 |
| 254 | this.mapTiles = data.level; // 获取图层 | 255 | this.mapTiles = data.level; // 获取图层 |
| 255 | this.navKey = data.list[0]['id']; // 默认选中 第一个 id | 256 | this.navKey = data.list[0]['id']; // 默认选中 第一个 id | ... | ... |
-
Please register or login to post a comment