图层显示

This commit is contained in:
yyy 2025-02-25 09:23:04 +08:00
parent 9cc9c1f7d1
commit 956e25ef01
2 changed files with 6 additions and 3 deletions

View File

@ -27,7 +27,7 @@ const list = ref([
isShow: true
},
{
type: 5,
type: 1,
name: '路径点',
isShow: true
},
@ -56,9 +56,11 @@ defineExpose({ open }) // 提供 open 方法,用于打开弹窗
<style lang="scss">
.layer-select {
z-index: 999;
background-color: #fff;
position: fixed;
bottom: 20px;
position: absolute;
bottom: 22px;
left: 18px;
width: 144px;
cursor: pointer;

View File

@ -2063,6 +2063,7 @@ const saveMapRoute = async () => {
}
//
const layerSelectionSuccess = (typeList) => {
console.log(typeList)
state.allMapPointInfo.forEach((item) => {
// type layerSelectionShow false
if (typeList.includes(item.type)) {