fix[ErrorLog]: fixed error log dialog z-index bug (#1844)

https://github.com/PanJiaChen/vue-element-admin/issues/1830
This commit is contained in:
anson 2019-04-04 17:51:45 +08:00 committed by 花裤衩
parent 770753eff2
commit 7492e2097f
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
</el-button>
</el-badge>
<el-dialog :visible.sync="dialogTableVisible" title="Error Log" width="80%">
<el-dialog :visible.sync="dialogTableVisible" title="Error Log" width="80%" append-to-body>
<el-table :data="errorLogs" border>
<el-table-column label="Message">
<template slot-scope="{row}">

View File

@ -28,10 +28,10 @@ export default {
sidebarLogo: false,
/**
* @type {string | array} 'production' | ['production','development']
* @type {string | array} 'production' | ['production', 'development']
* @description Need show err logs component.
* The default is only used in the production env
* If you want to also use it in dev, you can pass ['production','development']
* If you want to also use it in dev, you can pass ['production', 'development']
*/
errorLog: 'production'
}