@@ -20,7 +20,7 @@ namespace Yi.Framework.Rbac.Application.Contracts.Dtos.Menu
|
||||
public string? Remark { get; set; }
|
||||
public string? Component { get; set; }
|
||||
public string? Query { get; set; }
|
||||
|
||||
public string? RouterName { get; set; }
|
||||
public int OrderNum { get; set; }
|
||||
//public List<MenuEntity>? Children { get; set; }
|
||||
}
|
||||
|
||||
@@ -24,6 +24,8 @@ namespace Yi.Framework.Rbac.Application.Contracts.Dtos.Menu
|
||||
|
||||
public int OrderNum { get; set; }
|
||||
|
||||
public string? RouterName { get; set; }
|
||||
|
||||
//public List<MenuEntity>? Children { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,13 +91,28 @@ defineExpose({ getRef });
|
||||
<re-col
|
||||
v-show="newFormInline.menuType !== 2"
|
||||
:value="24"
|
||||
:xs="24"
|
||||
:sm="24"
|
||||
:xs="12"
|
||||
:sm="12"
|
||||
>
|
||||
<el-form-item label="菜单图标">
|
||||
<IconSelect v-model="newFormInline.menuIcon" class="w-full" />
|
||||
</el-form-item>
|
||||
</re-col>
|
||||
<re-col
|
||||
v-show="newFormInline.menuType !== 2"
|
||||
:value="24"
|
||||
:xs="12"
|
||||
:sm="12"
|
||||
>
|
||||
<el-form-item label="路由名称">
|
||||
<el-input
|
||||
v-model="newFormInline.routerName"
|
||||
clearable
|
||||
placeholder="请输入菜单名称"
|
||||
class="w-full"
|
||||
/>
|
||||
</el-form-item>
|
||||
</re-col>
|
||||
<re-col :value="12" :xs="24" :sm="24">
|
||||
<el-form-item label="菜单名称" prop="menuName">
|
||||
<el-input
|
||||
|
||||
@@ -89,7 +89,7 @@ export function useMenu() {
|
||||
{
|
||||
label: "显示",
|
||||
prop: "isShow",
|
||||
formatter: ({ isShow }) => (isShow ? "否" : "是"),
|
||||
formatter: ({ isShow }) => (isShow ? "是" : "否"),
|
||||
width: 100
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user