This commit is contained in:
Pan 2019-04-04 17:50:23 +08:00
parent 513421bd9d
commit f8d0be0f46
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -28,10 +28,10 @@ export default {
sidebarLogo: false, sidebarLogo: false,
/** /**
* @type {string | array} 'production' | ['production','development'] * @type {string | array} 'production' | ['production', 'development']
* @description Need show err logs component. * @description Need show err logs component.
* The default is only used in the production env * 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' errorLog: 'production'
} }