大屏地图标记弹窗完成
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user