隐藏不需要的信息

API权限配置增加路径显示
This commit is contained in:
jacky 2024-04-10 19:19:16 +08:00
parent 7cad3c1693
commit efe8222dde
2 changed files with 6 additions and 4 deletions

View File

@ -44,9 +44,9 @@
<close />
</el-icon>
</p>
<p class="text-gray-500 mt-2 text-md">这个家伙很懒什么都没有留下</p>
<!-- <p class="text-gray-500 mt-2 text-md">这个家伙很懒什么都没有留下</p> -->
</div>
<div class="w-full h-full text-left">
<!-- <div class="w-full h-full text-left">
<ul class="inline-block h-full w-full">
<li class="info-list">
<el-icon>
@ -55,7 +55,7 @@
{{ userStore.userInfo.nickName }}
</li>
</ul>
</div>
</div> -->
</div>
</div>
</div>

View File

@ -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([])