mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-08 02:36:07 +00:00
refactor: 重构代码结构并优化命名一致性
feat(backend): 新增模块示例和路径配置 fix(backend): 修复菜单模型名称唯一性约束 refactor(backend): 重构日志模块和路径配置 style(backend): 统一API方法命名规范 refactor(frontend): 重构API方法命名规范 fix(frontend): 修复权限校验问题 refactor: 移动定时任务测试文件到正确模块 docs: 更新模板文件路径 refactor: 优化日志记录和错误处理 fix: 修复排序默认值问题
This commit is contained in:
+4
-4
@@ -129,7 +129,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<el-button
|
||||
v-hasPerm="['module_monitor:cache:refresh']"
|
||||
v-hasPerm="['module_monitor:cache:query']"
|
||||
type="primary"
|
||||
link
|
||||
icon="RefreshRight"
|
||||
@@ -151,7 +151,7 @@
|
||||
<el-table-column prop="cache_name" label="缓存名称" show-overflow-tooltip>
|
||||
<template #default="{ row }">
|
||||
<el-button
|
||||
v-hasPerm="['module_monitor:cache:view']"
|
||||
v-hasPerm="['module_monitor:cache:query']"
|
||||
type="primary"
|
||||
link
|
||||
@click="getCacheKeyList(row)"
|
||||
@@ -203,7 +203,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<el-button
|
||||
v-hasPerm="['module_monitor:cache:refresh']"
|
||||
v-hasPerm="['module_monitor:cache:query']"
|
||||
type="primary"
|
||||
link
|
||||
icon="RefreshRight"
|
||||
@@ -276,7 +276,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<el-button
|
||||
v-hasPerm="['module_monitor:cache:delete_all']"
|
||||
v-hasPerm="['module_monitor:cache:delete']"
|
||||
type="danger"
|
||||
link
|
||||
icon="delete"
|
||||
|
||||
Reference in New Issue
Block a user