Unverified Commit a4668956 by Anan Yang Committed by GitHub

Merge pull request #38 from since2006/master

修复 IE 下左边菜单高度不正确,PageView 无图像内容时页面高度不正确问题
parents 7b4764e5 47c90ae4
<template> <template>
<page-layout :desc="description" :title="getTitle" :link-list="linkList" :search="search" :tabs="tabs"> <page-layout :desc="description" :title="getTitle" :link-list="linkList" :search="search" :tabs="tabs">
<div slot="extra" class="extra-img"> <div slot="extra" class="extra-img">
<img :src="extraImage"/> <img v-if="typeof extraImage !== 'undefined'" :src="extraImage"/>
</div> </div>
<!-- keep-alive --> <!-- keep-alive -->
<route-view ref="content"></route-view> <route-view ref="content"></route-view>
......
...@@ -140,6 +140,7 @@ ...@@ -140,6 +140,7 @@
} }
.layout.ant-layout { .layout.ant-layout {
height: 100%;
min-height: 100vh; min-height: 100vh;
overflow-x: hidden; overflow-x: hidden;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment