shuishen
2021-06-15 c66d1e92b78c7dc5310b3f47a24e7fee28325033
去除console.log信息
6 files modified
14 ■■■■■ changed files
widgets/FlyRoute/Widget.js 3 ●●●●● patch | view | raw | blame | history
widgets/FlyRoute/Widget22.js 5 ●●●●● patch | view | raw | blame | history
widgets/FlyRoute/fly.js 2 ●●●●● patch | view | raw | blame | history
widgets/HeatMap/CesiumHeatmap.js 1 ●●●● patch | view | raw | blame | history
widgets/SplitScreen/Widget.js 1 ●●●● patch | view | raw | blame | history
widgets/instructions/Widget.js 2 ●●●●● patch | view | raw | blame | history
widgets/FlyRoute/Widget.js
@@ -105,7 +105,6 @@
                dataArr.push(data);
                liDom.on('click', data, function (event) {
                    console.log(event.data);
                });
                $('#passPoint').append(liDom);
@@ -209,7 +208,6 @@
        },
        _loadRoute: function _loadRoute(route) {
            console.log(route);
            var self = this;
            $("#passPoint").empty();
            self.flightTool.RouteCollection.AddRoute(route);
@@ -217,7 +215,6 @@
                var liStr = "<li class='item'>途径点" + (j + 1) + "</li>";
                var liDom = $(liStr);
                liDom.on('click', route[j], function (event) {
                    console.log(event.data);
                    var site = self.flightTool.RouteCollection.getSiteByIndex(event.data.id);
                    self.flightTool.flyManager.viewToSite(site);
                });
widgets/FlyRoute/Widget22.js
@@ -68,7 +68,6 @@
                    type: 'post',
                    dataType: 'JSON',
                    success: function (data) {
                        console.log(data);
                        self._loadRoute(data.data);
                    }
                })
@@ -120,7 +119,6 @@
                dataArr.push(data);
                liDom.on('click', data, function (event) {
                    console.log(event.data);
                });
                $('#passPoint').append(liDom);
@@ -180,7 +178,6 @@
                            "roll": Cesium.Math.toRadians(data.data[i].roll),
                            "time": data.data[i].time
                        };
                        console.log(site);
                        that.flightTool.allSites[i] = site;
                    }
                    that.flightTool.flyManager.play();
@@ -206,7 +203,6 @@
        },
        _loadRoute: function _loadRoute(route) {
            console.log(route);
            var self = this;
            $("#passPoint").empty();
            self.flightTool.RouteCollection.AddRoute(route);
@@ -214,7 +210,6 @@
                var liStr = "<li class='item'>途径点" + (j + 1) + "</li>";
                var liDom = $(liStr);
                liDom.on('click', route[j], function (event) {
                    console.log(event.data);
                    var site = self.flightTool.RouteCollection.getSiteByIndex(event.data.id);
                    self.flightTool.flyManager.viewToSite(site);
                });
widgets/FlyRoute/fly.js
@@ -128,7 +128,6 @@
                    //添加到站点数组
                    that.allSites.push(Site);
                    this.controlEntities();
                    console.log(that.allSites);
                    return true;
                } catch (e) {
                    return false;
@@ -343,7 +342,6 @@
                that.scene.screenSpaceCameraController.enableTilt = false;
                that.scene.screenSpaceCameraController.enableLook = false;
                console.log(that.play_bool);
                if (that.play_bool) {
                    //设置初始点
widgets/HeatMap/CesiumHeatmap.js
@@ -359,7 +359,6 @@
        if (this._layer) {
            this._cesium.scene.imageryLayers.remove(this._layer);
        }
        console.log(CesiumHeatmap._getImageryProvider(this));
        this._layer = this._cesium.scene.imageryLayers.addImageryProvider(CesiumHeatmap._getImageryProvider(this));
    }
};
widgets/SplitScreen/Widget.js
@@ -119,7 +119,6 @@
            closeSplitScreen: function (item) {
                var that = this;
                console.log(item,this.name)
                if (item == this.name) {
                    if (this.flag = true) {
                        this.flag = false;
widgets/instructions/Widget.js
@@ -39,7 +39,6 @@
                }).then((res) => {
                    if (res.data.code == 200) {
                        var data = res.data.data;
                        // console.log(data, 99999);
                        that.beginLayuiDropdown(data)
@@ -82,7 +81,6 @@
                            $('.jimu-widget-instructions').find('.instructions-title').empty().append(str);
                            console.log(d, obj, 684)
                            for (var i = 0; i < d.length; i++) {
                                if (that['layer' + d[i].id]) {
                                    that.map.imageryLayers.remove(that['layer' + d[i].id]);