From 2b2ba47e05070f21d67f1e76f0e8bad70e517a17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=97=E5=AE=AB=E4=B9=98=E9=A3=8E?= <46562911+nangongchengfeng@users.noreply.github.com> Date: Sat, 18 May 2024 16:00:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E6=B8=85=E7=A9=BA?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E6=B2=A1=E6=9C=89=E6=8F=90=E7=A4=BA=20(#57)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: 增加请求头查询和日志清空功能 --- src/views/log/operation-log/index.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/views/log/operation-log/index.vue b/src/views/log/operation-log/index.vue index 0e45a94..49ea810 100644 --- a/src/views/log/operation-log/index.vue +++ b/src/views/log/operation-log/index.vue @@ -23,10 +23,6 @@ @clear="search" /> - @@ -236,7 +232,9 @@ export default { }).then(async res => { this.loading = true try { - await CleanOperationLog() + await CleanOperationLog().then(res => { + this.judgeResult(res) + }) } finally { this.loading = false }