|
|
@ -1,15 +1,31 @@ |
|
|
|
<template> |
|
|
|
<div v-if="errorLogs.length>0"> |
|
|
|
<el-badge :is-dot="true" style="line-height: 25px;margin-top: -5px;" @click.native="dialogTableVisible=true"> |
|
|
|
<el-button style="padding: 8px 10px;" size="small" type="danger"> |
|
|
|
<svg-icon icon-class="bug" /> |
|
|
|
<el-badge |
|
|
|
:is-dot="true" |
|
|
|
style="line-height: 10px;" |
|
|
|
@click.native="dialogTableVisible=true" |
|
|
|
> |
|
|
|
<el-button style="padding: 4px" size="small" type="danger"> |
|
|
|
<svg-icon icon-class="svg_bug" style="font-size: 16px;"/> |
|
|
|
</el-button> |
|
|
|
</el-badge> |
|
|
|
|
|
|
|
<el-dialog :visible.sync="dialogTableVisible" width="80%" append-to-body> |
|
|
|
<el-dialog |
|
|
|
:visible.sync="dialogTableVisible" |
|
|
|
width="80%" |
|
|
|
append-to-body |
|
|
|
:close-on-click-modal="true" |
|
|
|
:show-close="true" |
|
|
|
> |
|
|
|
<div slot="title"> |
|
|
|
<span style="padding-right: 10px;">Error Log</span> |
|
|
|
<el-button size="mini" type="primary" icon="el-icon-delete" @click="clearAll">Clear All</el-button> |
|
|
|
<el-button |
|
|
|
size="mini" |
|
|
|
type="primary" |
|
|
|
icon="el-icon-delete" |
|
|
|
@click="clearAll" |
|
|
|
style="float: right;margin-right: 30px;" |
|
|
|
>清除全部</el-button> |
|
|
|
</div> |
|
|
|
<el-table :data="errorLogs" border> |
|
|
|
<el-table-column label="Message"> |
|
|
|