| | |
| | | } from "vue"; |
| | | import menuData from "@/assets/js/Map/menuData.js"; |
| | | import menuTool from "@/assets/js/Map/menuTool.js"; |
| | | import store from "@/store"; |
| | | const menuFlag = ref(null); |
| | | const menuOptions = ref([]); |
| | | const checkFlag = ref(null); |
| | |
| | | checkFlag.value = null; |
| | | // console.log(res); |
| | | if (res.name == "清除") { |
| | | menuTool.clearALL(res); |
| | | menuTool.clearALL(checkArr); |
| | | } |
| | | } else if (res.level == 2) { |
| | | checkFlag.value = res.id; |
| | |
| | | menuTool.topTools(res); |
| | | } |
| | | }; |
| | | |
| | | onMounted(() => { |
| | | menuOptions.value = menuData.topMenu; |
| | | }); |
| | |
| | | right: 0px; |
| | | display: flex; |
| | | cursor: pointer; |
| | | z-index: 30; |
| | | .menu_Box { |
| | | margin-right: 104px; |
| | | display: flex; |