NEZ-2395 fix: terminalLog 样式错误

This commit is contained in:
zhangyu
2022-11-16 11:49:30 +08:00
parent de8507618d
commit 46b0dfe2e4
3 changed files with 5 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
<template>
<nz-bottom-data-list
:showPagination="false"
:showTitle='showTitle'
:obj='obj'
:layout="[]"
@@ -50,7 +51,8 @@ export default {
calcTime () {
return function (time) {
if (this.obj.startTime) {
const startTime = new Date(this.utcTimeToTimezoneStr(this.obj.startTime)).getTime()
console.log(this.utcTimeToTimezoneStr(this.obj.startTime))
const startTime = this.momentStrToTimestamp(this.utcTimeToTimezoneStr(this.obj.startTime))
if (startTime) {
const thisTime = startTime + time
return this.momentTz(thisTime)

View File

@@ -165,6 +165,7 @@ export default {
},
data () {
return {
tableId: 'ping',
// 防止用户重复点击
flag: true,
loading: false,

View File

@@ -158,6 +158,7 @@ export default {
},
data () {
return {
tableId: 'trace',
// 防止用户重复点击
flag: true,
loading: false,