Skip to content

Commit f4476b7

Browse files
authored
Merge pull request #38 from since2006/master
修复 IE 下左边菜单高度不正确,PageView 无图像内容时页面高度不正确问题
2 parents 686a2b7 + bcc6013 commit f4476b7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/layouts/PageView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<page-layout :desc="description" :title="getTitle" :link-list="linkList" :search="search" :tabs="tabs">
33
<div slot="extra" class="extra-img">
4-
<img :src="extraImage"/>
4+
<img v-if="typeof extraImage !== 'undefined'" :src="extraImage"/>
55
</div>
66
<!-- keep-alive -->
77
<route-view ref="content"></route-view>

src/components/page/GlobalLayout.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
}
141141
142142
.layout.ant-layout {
143+
height: 100%;
143144
min-height: 100vh;
144145
overflow-x: hidden;
145146

0 commit comments

Comments
 (0)