diff --git a/src/views/dashboard/related/components/LogTable/Index.vue b/src/views/dashboard/related/components/LogTable/Index.vue index 4d4f75e7..b9434855 100644 --- a/src/views/dashboard/related/components/LogTable/Index.vue +++ b/src/views/dashboard/related/components/LogTable/Index.vue @@ -58,7 +58,7 @@ limitations under the License. --> @closed="showDetail = false" :title="t('logDetail')" > - + diff --git a/src/views/dashboard/related/components/LogTable/LogBrowser.vue b/src/views/dashboard/related/components/LogTable/LogBrowser.vue index 6a1159ef..ed4eb84c 100644 --- a/src/views/dashboard/related/components/LogTable/LogBrowser.vue +++ b/src/views/dashboard/related/components/LogTable/LogBrowser.vue @@ -24,7 +24,6 @@ limitations under the License. --> ]" :style="{ lineHeight: 1.3, - width: `${item.drag ? item.method : ''}px`, }" > {{ dateFormat(data.time) }} @@ -44,7 +43,7 @@ import { BrowserLogConstants } from "./data"; /*global defineProps, defineEmits, NodeListOf */ const props = defineProps({ - data: { type: Array as any, default: () => [] }, + data: { type: Object as any, default: () => ({}) }, }); const columns = BrowserLogConstants; const emit = defineEmits(["select"]); diff --git a/src/views/dashboard/related/components/LogTable/LogDetail.vue b/src/views/dashboard/related/components/LogTable/LogDetail.vue index 75104fb5..4323fa30 100644 --- a/src/views/dashboard/related/components/LogTable/LogDetail.vue +++ b/src/views/dashboard/related/components/LogTable/LogDetail.vue @@ -20,7 +20,10 @@ limitations under the License. --> :key="index" > {{ t(item.value) }}: - + {{ dateFormat(currentLog[item.label]) }}