图层显示
This commit is contained in:
parent
9cc9c1f7d1
commit
956e25ef01
@ -27,7 +27,7 @@ const list = ref([
|
|||||||
isShow: true
|
isShow: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 5,
|
type: 1,
|
||||||
name: '路径点',
|
name: '路径点',
|
||||||
isShow: true
|
isShow: true
|
||||||
},
|
},
|
||||||
@ -56,9 +56,11 @@ defineExpose({ open }) // 提供 open 方法,用于打开弹窗
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.layer-select {
|
.layer-select {
|
||||||
|
z-index: 999;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
position: fixed;
|
position: absolute;
|
||||||
bottom: 20px;
|
bottom: 22px;
|
||||||
|
left: 18px;
|
||||||
width: 144px;
|
width: 144px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
|
@ -2063,6 +2063,7 @@ const saveMapRoute = async () => {
|
|||||||
}
|
}
|
||||||
//筛选图层
|
//筛选图层
|
||||||
const layerSelectionSuccess = (typeList) => {
|
const layerSelectionSuccess = (typeList) => {
|
||||||
|
console.log(typeList)
|
||||||
state.allMapPointInfo.forEach((item) => {
|
state.allMapPointInfo.forEach((item) => {
|
||||||
// 如果 type 存在于第一个数组中,则将 layerSelectionShow 设置为 false
|
// 如果 type 存在于第一个数组中,则将 layerSelectionShow 设置为 false
|
||||||
if (typeList.includes(item.type)) {
|
if (typeList.includes(item.type)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user