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