From 20b901142aed5fe355ac3d4624d4b1b86dba8286 Mon Sep 17 00:00:00 2001 From: jmal Date: Mon, 6 May 2024 11:22:49 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/setting/sys/logList.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/setting/sys/logList.vue b/src/views/setting/sys/logList.vue index f518ade..c25b61d 100644 --- a/src/views/setting/sys/logList.vue +++ b/src/views/setting/sys/logList.vue @@ -21,12 +21,12 @@ - + - + @@ -109,9 +109,6 @@ export default { options: [{ value: 'LOGIN', label: '登录' - }, { - value: 'BROWSE', - label: '足迹👣' }, { value: 'OPERATION', label: '操作' @@ -195,6 +192,11 @@ export default { this.queryLogList() }, queryLogList() { + if (this.queryCondition.username) { + this.queryCondition.excludeUsername = null; + } else { + this.queryCondition.excludeUsername = 'other'; + } this.$refs.tableList.initPageIndex() this.getLogList() },