export default [ { path: "home", meta: { type: "page", title: "首页", icon: "home", public: true, }, }, { path: "base-data", meta: { type: "group", title: "基础数据", icon: "folder", }, children: [ { path: "user", meta: { type: "page", title: "用户管理", icon: "file", permission: "AbpIdentity.Users", }, children: [ { path: "create", meta: { type: "button", title: "新建", icon: "file", permission: "AbpIdentity.Users.Create", isTop: true, }, }, { path: "update", meta: { type: "button", title: "编辑", icon: "file", htmlClass: "el-button--primary", permission: "AbpIdentity.Users.Update", }, }, { path: "delete", meta: { type: "button", title: "删除", icon: "file", permission: "AbpIdentity.Users.Delete", isTop: true, }, }, ], }, { path: "role", meta: { type: "page", title: "角色管理", icon: "file", permission: "AbpIdentity.Users", }, children: [ { path: "create", meta: { type: "button", title: "新建", icon: "file", permission: "AbpIdentity.Users.Create", isTop: true, }, }, { path: "update", meta: { type: "button", title: "编辑", icon: "file", htmlClass: "el-button--primary", permission: "AbpIdentity.Users.Update", disabled: `(o) => o.isStatic`, }, }, { path: "delete", meta: { type: "button", title: "删除", icon: "file", permission: "AbpIdentity.Users.Delete", disabled: `(o) => o.isStatic`, }, }, ], }, ], }, ];