完善界面

This commit is contained in:
橙子
2022-05-19 23:29:37 +08:00
parent 208c93bc8f
commit 3b38a0d628
2 changed files with 9 additions and 0 deletions

View File

@@ -70,6 +70,10 @@ namespace Yi.Framework.ApiMicroservice.Controllers
return Result.SuccessError("注册失败!用户名已存在!");
}
/// <summary>
/// 没啥说,登出
/// </summary>
/// <returns></returns>
[HttpPost]
public Result Logout()
{

View File

@@ -47,6 +47,11 @@
hoverable
item-text="menuName"
>
<template v-slot:prepend="{ item }">
<v-icon>
{{ item.menuIcon }}
</v-icon>
</template>
<template v-slot:append="{ item }">
<app-btn v-if="item.menuType==0">路由:{{ item.router }}</app-btn>
<app-btn v-if="item.menuType==1" color="secondary">权限:{{ item.permissionCode }}</app-btn>