As shown in the picture, after uniapp introduced the map map, there was always a Tencent logo. After some exploration, it was removed.
- The first thing to note is that you must set the style in App.vue
- Secondly, use the descendant selector method (specifically select which label and class name, go to f12 debugging, select the logo to view the structural style)
<style lang="scss"> // 取消地图上的 logo a .csssprite { display: none; } </style>
As shown in the picture:
Then remove it