src/views/MapTemplate.vue
@@ -42,13 +42,17 @@ } </script> <style lang="less" scoped> <style lang="less"> .full-screen{ width: calc(100vw); height: calc(100vh); overflow: hidden; width: 100%; height: 100%; margin: 0; padding: 0; position: absolute; #map{ height: 100%; width: 100%; } } </style>>