umd引入大屏组件
This commit is contained in:
		@@ -143,9 +143,13 @@ export default {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  mounted() {
 | 
					  mounted() {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (this.data.type == 'map') {
 | 
					    if (this.data.type == 'map') {
 | 
				
			||||||
      this.handleMapClick()
 | 
					      this.handleMapClick()
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					    else if(this.data.type == 'table'){
 | 
				
			||||||
 | 
					      this.$injectLib("https://cdn.cunwuyun.cn/datav.map.vue.js")
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user