vue引入天地图标错

各位知道这个天地图引入到vue报这个错,各位有知道什么原因嘛

img


代码:

<template>
    <div>
      <!--创建容器-->
      <div id="mapDiv" style="position:absolute;width:85%;height:80%"></div>
    </div>
  </template>
  <script>
  import mapMixin from "./mapMixin"; // 公共方法
  export default {
    mixins: [mapMixin],
    data() {
      return {
        map: "", // 对象
        zoom: 10, // 地图的初始化级别,及放大比例
      };
    },
    mounted() {
      let that = this;
      // 挂载完成后渲染地图
      this.$nextTick(function() {
        that.onLoad();
      });
    },
    methods: {
      onLoad() {
        debugger
        let that = this;
        // var T=Window.T
        that.map = new scheduleT.Map("mapDiv");
        that.map.centerAndZoom(new T.LngLat(116.30034, 40.07689), that.zoom); // 设置显示地图的中心点和级别
        // 添加地图类型控件
        that.addCtrl();
   
        // 普通标注
        let site = [
          { lng: 116.30034, lat: 39.98054 },
          { lng: 116.41238, lat: 40.07689 },
          { lng: 116.34143, lat: 40.03403 },
        ];
        that.markerPoint(site);
      },
    }
  };
  </script>

你使用 new T 这个是在 mapMixin 里面引入的吗?

引入天地图的地图JavaScript API 文件是在哪里引入的?
就:

img


要在public文件夹下面的index.html引入,还有你的天地图创建实例的函数怎么和官网不一样呢?自己封装的?