| | |
| | | menuTool.topTools(res); |
| | | } |
| | | }; |
| | | const setSpatialQuery = (res) => { |
| | | store.state.spatialQueryData.name = "lunarplacenane"; |
| | | store.state.spatialQueryData.hasGeom = 1; |
| | | store.state.spatialQueryData.wkt = res; |
| | | }; |
| | | |
| | | onMounted(() => { |
| | | menuOptions.value = menuData.topMenu; |
| | | |
| | | window.setSpatialQuery = setSpatialQuery; |
| | | }); |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | | .top_btn { |
| | | position: absolute; |
| | | top: 23px; |
| | | right: 0px; |
| | | // position: absolute; |
| | | // top: 23px; |
| | | // right: 0px; |
| | | display: flex; |
| | | cursor: pointer; |
| | | z-index: 30; |
| | | .menu_Box { |
| | | margin-right: 104px; |
| | | display: flex; |