大屏地图标记弹窗完成

This commit is contained in:
aixianling
2023-04-14 09:15:16 +08:00
parent 1bd2bf44bb
commit 4d97436d14

View File

@@ -112,6 +112,9 @@ export default {
values: {
immediate: true,
deep: true, handler() {
if (this.currentType == 'map') {
this.renderMap()
}
if (this.currentType === 'AiDvTable') {
this.dvTableConfig = this.data[this.data.dataType].map((v, i) => {
return {
@@ -198,9 +201,7 @@ export default {
}
},
mounted() {
if (this.data.type == 'map') {
this.renderMap()
} else if (this.data.type == 'table') {
if (this.data.type == 'table') {
this.$injectLib("https://cdn.cunwuyun.cn/datav.map.vue.js")
}
}