feat: 客户API Key管理菜单指向dapi模块,添加edit/delete/newkey/copy图标

1. global_menu.ui: API Key管理URL改为/dapi/downapp/
2. imgs/: 添加edit.svg, delete.svg, newkey.svg, copy.svg图标
This commit is contained in:
yumoqing 2026-05-31 12:10:00 +08:00
parent e6e732227f
commit c1ff952cef
5 changed files with 5 additions and 1 deletions

View File

@ -50,7 +50,7 @@
"name": "apikey_manage",
"label": "API Key管理",
"icon": "{{entire_url('/imgs/key.svg')}}",
"url": "{{entire_url('/uapi/upappkey/index.ui')}}",
"url": "{{entire_url('/dapi/downapp/')}}",
"target": "app.sage_main_content"
}
,{

1
wwwroot/imgs/copy.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="#555"><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></svg>

After

Width:  |  Height:  |  Size: 241 B

1
wwwroot/imgs/delete.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="#555"><path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"/></svg>

After

Width:  |  Height:  |  Size: 191 B

1
wwwroot/imgs/edit.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="#555"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>

After

Width:  |  Height:  |  Size: 263 B

1
wwwroot/imgs/newkey.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="#555"><path d="M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg>

After

Width:  |  Height:  |  Size: 270 B