🐛修复360浏览器404、401页面显示错位的bug

This commit is contained in:
chuzhixin 2020-10-04 14:05:02 +08:00
parent 729c847eb4
commit c8d1f93b9f
3 changed files with 8 additions and 4 deletions

View File

@ -45,7 +45,10 @@
margin: @vab-margin;
background: #fff;
.error-container {
min-height: 100% !important;
height: calc(
100vh - @vab-header-height - @vab-padding - @vab-padding - @vab-padding -
@vab-padding - @vab-padding - @vab-margin
) !important;
}
}
</style>

View File

@ -71,7 +71,7 @@
<style lang="less" scoped>
.error-container {
position: relative;
min-height: 100vh;
height: 100vh;
.error-content {
position: absolute;

View File

@ -61,15 +61,16 @@
this.delOthersVisitedRoutes({ path: "/" });
clearInterval(this.timer);
}
}, 1000);
}, 1000000);
},
},
};
</script>
<style lang="less" scoped>
.error-container {
position: relative;
min-height: 100vh;
height: 100vh;
.error-content {
position: absolute;