Browse Source

[UPDATE] fix bug in *historicTaskScreen

11868 1 year ago
parent
commit
e043a2073b
1 changed files with 1 additions and 9 deletions
  1. 1 9
      src/views/historicTaskScreen.vue

+ 1 - 9
src/views/historicTaskScreen.vue

@@ -507,7 +507,7 @@
                       单位分布
                       单位分布
                     </div>
                     </div>
 <!--                    <el-image-->
 <!--                    <el-image-->
-<!--                        @click="showFull1('chart-earth')"-->
+<!--                        @click="showFull('chart-earth')"-->
 <!--                        style="width: 20px; height: 20px; margin-right:6px; margin-top: -10px;"-->
 <!--                        style="width: 20px; height: 20px; margin-right:6px; margin-top: -10px;"-->
 <!--                        :src="require('../assets/img/iconMore.svg')"-->
 <!--                        :src="require('../assets/img/iconMore.svg')"-->
 <!--                        fit="contain"-->
 <!--                        fit="contain"-->
@@ -763,7 +763,6 @@ var uploadedDataURL = require('../../public/json/taiyuan.json')
 import './historicTaskScreen.css'
 import './historicTaskScreen.css'
 import Videojs from "video.js"; // 引入Videojs
 import Videojs from "video.js"; // 引入Videojs
 import 'echarts-gl';
 import 'echarts-gl';
-import {beFull} from 'be-full';
 export default {
 export default {
   components:{
   components:{
     myFlylineChartEnhanced,
     myFlylineChartEnhanced,
@@ -3035,13 +3034,6 @@ export default {
       let elem = document.querySelector(`#${id}`);
       let elem = document.querySelector(`#${id}`);
       this.requestFullScreen(elem);
       this.requestFullScreen(elem);
     },
     },
-    showFull1() {
-      window.onresize = function(){
-        this.myChart.resize()
-      }
-      const el = document.getElementById('chart-earth');
-      beFull(el);
-    },
     // 退出全屏
     // 退出全屏
     exitFull(){
     exitFull(){
       let exitFullScreen =
       let exitFullScreen =