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;