From 72cca3e3c6cb4ab8f8c020491e0cdb916820eeb8 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Fri, 25 Mar 2022 09:52:05 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=20opearationLog=20=20=20terminalLo?= =?UTF-8?q?g=20=20=E9=BB=98=E8=AE=A4=20id=20=E5=80=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/page/config/operationLog.vue | 1 + nezha-fronted/src/components/page/config/terminalLog.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/nezha-fronted/src/components/page/config/operationLog.vue b/nezha-fronted/src/components/page/config/operationLog.vue index b7c91a0b9..fae710055 100644 --- a/nezha-fronted/src/components/page/config/operationLog.vue +++ b/nezha-fronted/src/components/page/config/operationLog.vue @@ -48,6 +48,7 @@ export default { return { url: 'sys/log', tableId: 'operationLogTable', // 需要分页的table的id,用于记录每页数量 + orderBy: '-id', searchMsg: { // 给搜索框子组件传递的信息 searchLabelList: [ { diff --git a/nezha-fronted/src/components/page/config/terminalLog.vue b/nezha-fronted/src/components/page/config/terminalLog.vue index 778e1c782..7a3bf39b2 100644 --- a/nezha-fronted/src/components/page/config/terminalLog.vue +++ b/nezha-fronted/src/components/page/config/terminalLog.vue @@ -115,6 +115,7 @@ export default { return { url: 'terminal/session', tableId: 'terminalLogTable', // 需要分页的table的id,用于记录每页数量 + orderBy: '-id', searchMsg: { // 给搜索框子组件传递的信息 searchLabelList: [ {