Browse Source

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

https://github.com/PanJiaChen/vue-element-admin/issues/1830
pull/1933/head
anson 6 years ago committed by 花裤衩
parent
commit
7492e2097f
  1. 2
      src/components/ErrorLog/index.vue
  2. 4
      src/settings.js

2
src/components/ErrorLog/index.vue

@ -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}">

4
src/settings.js

@ -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'
}

Loading…
Cancel
Save