diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/terminalLogSftpTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/terminalLogSftpTab.vue index 70380857b..7d83a9c94 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/terminalLogSftpTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/terminalLogSftpTab.vue @@ -82,6 +82,8 @@ export default { methods: { async getTableData () { this.$set(this.searchLabel, 'uuid', this.obj.uuid) + this.$set(this.searchLabel, 'pageNo', this.pageObj.pageNo) + this.$set(this.searchLabel, 'pageSize', -1) this.tools.loading = true this.$get(this.url, this.searchLabel).then(response => { this.tools.loading = false diff --git a/nezha-fronted/src/components/common/table/settings/terminalLogTable.vue b/nezha-fronted/src/components/common/table/settings/terminalLogTable.vue index 34f700a27..c657161ed 100644 --- a/nezha-fronted/src/components/common/table/settings/terminalLogTable.vue +++ b/nezha-fronted/src/components/common/table/settings/terminalLogTable.vue @@ -67,12 +67,12 @@ - {{scope.row[item.prop] ? scope.row[item.prop] : '-'}} + {{scope.row[item.prop] ? scope.row[item.prop] : 0}} - {{scope.row[item.prop] ? scope.row[item.prop] : '-'}} + {{scope.row[item.prop] ? scope.row[item.prop] : 0}} @@ -197,15 +197,13 @@ export default { label: this.$t('config.terminallog.cmd.cmd'), prop: 'cmdNum', show: false, - width: 120, - sortable: 'custom' + width: 100 }, { label: this.$t('terminal.sftp'), prop: 'sftpNum', show: false, - width: 100, - sortable: 'custom' + width: 80 }, { label: this.$t('overall.state'), // killusername鼠标悬停形式