fix:道路资产

This commit is contained in:
2024-10-18 17:31:35 +08:00
parent 78fd3b7c43
commit c720a8b0c0
54 changed files with 2472 additions and 3 deletions
+15 -1
View File
@@ -2,7 +2,7 @@
* @Author: SunTao 328867980@qq.com
* @Date: 2024-10-14 10:46:23
* @LastEditors: SunTao 328867980@qq.com
* @LastEditTime: 2024-10-17 10:33:59
* @LastEditTime: 2024-10-17 16:51:32
* @FilePath: \znxjxt-ui\src\views\xj\inspection\task-management\components\fssm-map.vue
* @Description: 公共地图
-->
@@ -97,6 +97,11 @@ export default {
type: Array,
default: () => [],
},
// 接收传过来的底图类型
baseMap: {
type: String,
default: "cva_c",
},
},
data() {
return {
@@ -114,6 +119,7 @@ export default {
};
},
watch: {
/* 监听传过来的坐标区域 */
editCoordinates: {
handler(val) {
this.$nextTick(() => {
@@ -137,6 +143,14 @@ export default {
deep: true,
immediate: true,
},
/* 监听传过来的底图类型 */
baseMap: {
handler(val) {
this.changeImg(val)
},
immediate: true,
deep: true,
},
},
mounted() {
this.initMap();