From efe8222dde417b15d018ace059df8d69f57cae32 Mon Sep 17 00:00:00 2001 From: jacky Date: Wed, 10 Apr 2024 19:19:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E4=B8=8D=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E7=9A=84=E4=BF=A1=E6=81=AF=20API=E6=9D=83=E9=99=90=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E5=A2=9E=E5=8A=A0=E8=B7=AF=E5=BE=84=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/person/person.vue | 6 +++--- src/view/superAdmin/authority/components/apis.vue | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/view/person/person.vue b/src/view/person/person.vue index 1a943b5..8173db2 100644 --- a/src/view/person/person.vue +++ b/src/view/person/person.vue @@ -44,9 +44,9 @@

-

这个家伙很懒,什么都没有留下

+ -
+
diff --git a/src/view/superAdmin/authority/components/apis.vue b/src/view/superAdmin/authority/components/apis.vue index 609169c..d0edf30 100644 --- a/src/view/superAdmin/authority/components/apis.vue +++ b/src/view/superAdmin/authority/components/apis.vue @@ -52,7 +52,9 @@ const props = defineProps({ const apiDefaultProps = ref({ children: 'children', - label: 'description' + label: (data, node) => { + return data.path ? data.description + ' - ' + data.method + ' ' + data.path : data.description + } }) const filterText = ref('') const apiTreeData = ref([])