完善界面
This commit is contained in:
@@ -70,6 +70,10 @@ namespace Yi.Framework.ApiMicroservice.Controllers
|
|||||||
return Result.SuccessError("注册失败!用户名已存在!");
|
return Result.SuccessError("注册失败!用户名已存在!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 没啥说,登出
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
public Result Logout()
|
public Result Logout()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -47,6 +47,11 @@
|
|||||||
hoverable
|
hoverable
|
||||||
item-text="menuName"
|
item-text="menuName"
|
||||||
>
|
>
|
||||||
|
<template v-slot:prepend="{ item }">
|
||||||
|
<v-icon>
|
||||||
|
{{ item.menuIcon }}
|
||||||
|
</v-icon>
|
||||||
|
</template>
|
||||||
<template v-slot:append="{ item }">
|
<template v-slot:append="{ item }">
|
||||||
<app-btn v-if="item.menuType==0">路由:{{ item.router }}</app-btn>
|
<app-btn v-if="item.menuType==0">路由:{{ item.router }}</app-btn>
|
||||||
<app-btn v-if="item.menuType==1" color="secondary">权限:{{ item.permissionCode }}</app-btn>
|
<app-btn v-if="item.menuType==1" color="secondary">权限:{{ item.permissionCode }}</app-btn>
|
||||||
|
|||||||
Reference in New Issue
Block a user