From 5e2aafeede13d337380f736567caf74f49713be7 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 09 Aug 2024 14:38:32 +0800
Subject: [PATCH] 代码优化

---
 src/views/monitor/log/api.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/views/monitor/log/api.vue b/src/views/monitor/log/api.vue
index 85c2d11..acd1e01 100644
--- a/src/views/monitor/log/api.vue
+++ b/src/views/monitor/log/api.vue
@@ -47,7 +47,8 @@
                         prop: "serviceId",
                         width: '120',
                         searchSpan: 4,
-                        search: true
+                        search: true,
+                        searchLabelWidth: 60,
                     },
                     {
                         label: "服务host",
@@ -141,6 +142,7 @@
             this.onLoad(this.page, this.query)
         },
         onLoad (page, params = {}) {
+            params['type'] = '2'
             this.loading = true
             getApiList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
                 const data = res.data.data

--
Gitblit v1.9.3