大屏地图标记弹窗完成
This commit is contained in:
@@ -112,6 +112,9 @@ export default {
|
|||||||
values: {
|
values: {
|
||||||
immediate: true,
|
immediate: true,
|
||||||
deep: true, handler() {
|
deep: true, handler() {
|
||||||
|
if (this.currentType == 'map') {
|
||||||
|
this.renderMap()
|
||||||
|
}
|
||||||
if (this.currentType === 'AiDvTable') {
|
if (this.currentType === 'AiDvTable') {
|
||||||
this.dvTableConfig = this.data[this.data.dataType].map((v, i) => {
|
this.dvTableConfig = this.data[this.data.dataType].map((v, i) => {
|
||||||
return {
|
return {
|
||||||
@@ -198,9 +201,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
if (this.data.type == 'map') {
|
if (this.data.type == 'table') {
|
||||||
this.renderMap()
|
|
||||||
} else if (this.data.type == 'table') {
|
|
||||||
this.$injectLib("https://cdn.cunwuyun.cn/datav.map.vue.js")
|
this.$injectLib("https://cdn.cunwuyun.cn/datav.map.vue.js")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user