26334
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
<script>
|
||||
|
||||
import {mapState} from 'vuex'
|
||||
export default {
|
||||
name: "AiTMap",
|
||||
props: {
|
||||
@@ -30,6 +31,7 @@ export default {
|
||||
*/
|
||||
lib: Object,
|
||||
},
|
||||
computed: {...mapState(['config'])},
|
||||
data() {
|
||||
return {
|
||||
key: "3RZBZ-LZUCF-CT6J5-NWKZH-FCWOQ-UUFKY",
|
||||
@@ -52,6 +54,7 @@ export default {
|
||||
this.mapLib = TMap
|
||||
this.tmap = new TMap.Map(this.$refs.tmap, {
|
||||
zoom: 11,
|
||||
center: new TMap.LatLng(this.config.lat, this.config.lng),
|
||||
...this.ops
|
||||
})
|
||||
this.$emit('loaded')
|
||||
|
||||
Reference in New Issue
Block a user