NEZ-2186 fix:asset log 显示不正确的问题

This commit is contained in:
zhangyu
2022-09-09 16:03:54 +08:00
parent f046f519a9
commit e31b355b18
3 changed files with 9 additions and 2 deletions

View File

@@ -32,7 +32,7 @@
</pick-time>
</template>
<template v-slot>
<log-tab ref="logDetail" v-my-loading="loading" :loading-bottom="endpointLoading" :log-data="logData" :tab-index="9" @exportLog="exportLog" @limitChange="queryLogData"></log-tab>
<log-tab ref="logDetail" v-my-loading="loading" :loading-bottom="endpointLoading" :time-range="filterTime" :log-data="logData" :tab-index="9" @exportLog="exportLog" @limitChange="queryLogData"></log-tab>
<!-- <div v-my-loading="loading" v-if="!logData" style="height: 300px; width: 100%; display: flex; justify-content: center; align-items: center; color: #999;">No Data</div>-->
</template>
</nz-bottom-data-list>

View File

@@ -5,10 +5,12 @@ export default {
immediate: true,
handler (n) {
if (n) {
if (this.detailType !== 'list') {
this.updatePath(this.$route.query, this.$route.path, 'nzDetailList')
}
}
}
}
},
data () {
return {

View File

@@ -240,6 +240,11 @@ export default {
bottomBoxWindow.showSubListWatch(vm, n)
this.updatePath(this.$route.query, this.$route.path, 'nzDatalist')
},
'bottomBox.object': function (n) {
const vm = this
bottomBoxWindow.showSubListWatch(vm, n)
this.updatePath(this.$route.query, this.$route.path, 'nzDatalist')
},
layout: {
immediate: true,
deep: true,