Jelajahi Sumber

[UPDATE] fix bug in *historicTaskScreen

11868 1 tahun lalu
induk
melakukan
e043a2073b
1 mengubah file dengan 1 tambahan dan 9 penghapusan
  1. 1 9
      src/views/historicTaskScreen.vue

+ 1 - 9
src/views/historicTaskScreen.vue

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