v1.4 版本发布,修复bug、优化细节、新增定时任务管理,详细信息查看发行版说明

This commit is contained in:
郑杰
2019-01-08 17:01:08 +08:00
parent ff0c36b5d4
commit 7afe6a2129
25 changed files with 522 additions and 8435 deletions

View File

@@ -3,7 +3,7 @@
<div id="console" :style="'height:'+ height" class="console">
<div v-for="item in data" :key="item.time">
<span>{{ item.name }}</span>
<span style="color:#CD0066 ">{{ time(item.timestamp)+' ' }}</span>
<span style="color:#CD0066 ">{{ parseTime(item.timestamp)+' ' }}</span>
<span style="color: #00CD00">{{ item.threadName+' ' }}</span>
<span :style="'color:'+ getColor(item.level) ">
{{ item.level+' ' }}
@@ -55,9 +55,7 @@ export default {
window.clearInterval(this.timer)
},
methods: {
time(date) {
return parseTime(date)
},
parseTime,
initWebSocket() {
this.connection(this)
// 断开重连机制,尝试发送消息,捕获异常发生时重连