mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-20 20:39:55 +00:00
- 将字典类型和字典数据的获取、存储逻辑统一管理,减少重复代码 - 使用 `pinia-plugin-persistedstate` 实现字典数据的持久化存储 - 优化字典数据的展示逻辑,统一使用字典标签进行显示 - 修复字典数据查询接口的权限控制和参数传递问题 - 更新字典数据相关的测试用例,确保功能稳定
38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
[
|
|
{
|
|
"id": 1,
|
|
"notice_title": "系统更新",
|
|
"notice_type": "1",
|
|
"notice_content": "2099年9月9日,晚上12:00,系统更新",
|
|
"available": true,
|
|
"description": "系统更新",
|
|
"creator_id": 1
|
|
},
|
|
{
|
|
"id": 2,
|
|
"notice_title": "系统维护",
|
|
"notice_type": "2",
|
|
"notice_content": "2099年9月9日,晚上12:00,系统维护",
|
|
"available": true,
|
|
"description": "系统维护",
|
|
"creator_id": 1
|
|
},
|
|
{
|
|
"id": 3,
|
|
"notice_title": "系统更新完成",
|
|
"notice_type": "1",
|
|
"notice_content": "2099年9月9日,晚上12:00,系统更新完成",
|
|
"available": false,
|
|
"description": "系统更新完成",
|
|
"creator_id": 1
|
|
},
|
|
{
|
|
"id": 4,
|
|
"notice_title": "系统维护完成",
|
|
"notice_type": "2",
|
|
"notice_content": "2099年9月9日,晚上12:00,系统维护完成",
|
|
"available": false,
|
|
"description": "系统维护完成",
|
|
"creator_id": 1
|
|
}
|
|
] |