图层显示
This commit is contained in:
parent
9cc9c1f7d1
commit
956e25ef01
@ -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;
|
||||
|
||||
|
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user