From 4231d0f9812b4aa0b2ac02271d581f4659bb5149 Mon Sep 17 00:00:00 2001 From: chenjinsong <523037378@qq.com> Date: Mon, 24 Aug 2020 14:07:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Doverview=E7=9A=84?= =?UTF-8?q?=E5=85=A8=E5=B1=8F=E5=8A=9F=E8=83=BD=E5=A4=B1=E6=95=88=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/page/config/mib.vue | 1 + .../src/components/page/dashboard/overview/overview2.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/page/config/mib.vue b/nezha-fronted/src/components/page/config/mib.vue index 3dc09593f..4c0c2eb00 100644 --- a/nezha-fronted/src/components/page/config/mib.vue +++ b/nezha-fronted/src/components/page/config/mib.vue @@ -283,6 +283,7 @@ this.getTableData(); }, downloadMib(mib) { + console.info(mib) axios.get('/mib/download?id='+mib.id,{responseType: 'blob'}).then(data=>{ let fileName = new Date().getTime()+'.txt'; let disposition=data.headers['content-disposition']; diff --git a/nezha-fronted/src/components/page/dashboard/overview/overview2.vue b/nezha-fronted/src/components/page/dashboard/overview/overview2.vue index 59c9c3a3f..9c22eec31 100644 --- a/nezha-fronted/src/components/page/dashboard/overview/overview2.vue +++ b/nezha-fronted/src/components/page/dashboard/overview/overview2.vue @@ -1073,7 +1073,7 @@ return document.isFullScreen || document.mozIsFullScreen || document.webkitIsFullScreen; }, fullScreen:function(){ - let container=document.getElementById('mainDisplay'); + let container = document.querySelector(".overview-content"); let fullScreenFunc=container.requestFullscreen||container.mozRequestFullScreen||container.webkitRequestFullscreen||container.msRequestFullscreen; fullScreenFunc.call(container); this.isFullScreen = true;