mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-27 06:41:12 +00:00
feat: 统一编码声明为utf-8格式并优化模板生成逻辑
fix(notice): 修正公告状态查询条件为字符串类型 fix(job): 将日志状态显示从布尔值改为字符串类型 fix(dict): 修复字典状态显示与表单提交问题 refactor: 重构模板生成代码结构,移除冗余文件 refactor(schema): 优化字段类型定义和查询参数处理 style: 调整前端样式和布局问题 style: 清理重复注释和未使用代码 docs: 更新示例SQL模板和注释 docs: 完善代码生成模板文档 chore: 移除已废弃的gen_demo视图文件
This commit is contained in:
@@ -113,7 +113,7 @@ function handleMarkAllAsRead() {
|
||||
const ids = noticeList.value
|
||||
.map((item) => item.id)
|
||||
.filter((id): id is number => id !== undefined);
|
||||
NoticeAPI.batchNotice({ ids, status: false }).then(async () => {
|
||||
NoticeAPI.batchNotice({ ids, status: '1' }).then(async () => {
|
||||
await noticeStore.getNotice();
|
||||
noticeList.value = noticeStore.noticeList;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user