| | |
| | | import screen from './components/screen.vue' |
| | | import screenfull from 'screenfull' |
| | | import { ElMessage, ElMessageBox } from 'element-plus'; |
| | | import {BaiduMap, BmOverlay, BmGround, BmMapType, BmNavigation, BmPolygon, BmLabel, BmPolyline} from 'vue-baidu-map-3x' |
| | | // import {BaiduMap, BmOverlay, BmGround, BmMapType, BmNavigation, BmPolygon, BmLabel, BmPolyline} from 'vue-baidu-map-3x' |
| | | |
| | | // 定义接口来定义对象的类型 |
| | | interface TableDataState { |
| | |
| | | } |
| | | export default defineComponent({ |
| | | name: 'map', |
| | | components: {BaiduMap, BmOverlay, BmGround, BmMapType, BmNavigation, BmPolygon, BmLabel, BmPolyline }, |
| | | // components: {BaiduMap, BmOverlay, BmGround, BmMapType, BmNavigation, BmPolygon, BmLabel, BmPolyline }, |
| | | setup() { |
| | | const state = reactive<TableDataState>({ |
| | | polygonPath1: [], |