arcgis api 4.X 点击地图和小部件会 出现黑色边框 类似于border 黑线
全局环境中:
.esri-view-surface--inset-outline:focus::after {
outline: none !important;
}
vue scoped环境中:
1、先找到mapview的容器container,
2、再找到这个container的父容器
3、再父容器下深度选择器,添加这个样式
/* 去掉地图聚焦边框 */
#mainDIV /deep/ .esri-view-surface--inset-outline:focus::after {
outline: none !important;
}