mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-04 09:10:59 +00:00
feat(role): 新增角色权限分配功能并优化界面显示
refactor(menu): 重构菜单类型枚举和权限数据结构 fix(log): 修复日志类型显示和查询问题 style(common): 重命名部门树格式化函数为通用树格式化函数 perf(store): 移除控制台日志输出 docs(tsconfig): 添加Vite客户端类型注释 chore(package): 调整依赖项顺序
This commit is contained in:
@@ -11,7 +11,6 @@ export const useNoticeStore = defineStore("notice", {
|
||||
actions: {
|
||||
async getNotice() {
|
||||
const response = await NoticeAPI.getNoticeListAvailable();
|
||||
console.log('获取我的通知公告', response);
|
||||
this.noticeList = response.data.data.items;
|
||||
this.total = response.data.data.total;
|
||||
this.isNoticeLoaded = true;
|
||||
|
||||
@@ -22,7 +22,7 @@ export interface Meta {
|
||||
/** 排序 */
|
||||
order?: number;
|
||||
/** 参数 */
|
||||
params?: string;
|
||||
params?: { key: string; value: string; }[];
|
||||
/** 是否固定路由 */
|
||||
affix?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user