mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-02 00:27:16 +00:00
refactor: 重构系统配置和用户模型相关代码
feat: 添加中间件系统配置获取功能 fix: 修复用户模型和CRUD基础类的问题 docs: 更新README和界面文本 style: 清理无用代码和注释
This commit is contained in:
@@ -363,7 +363,7 @@ async function handleOpenDialog(type: 'create' | 'update' | 'detail', id?: numbe
|
||||
Object.assign(formData, response.data.data);
|
||||
}
|
||||
} else {
|
||||
dialogVisible.title = "新增公告通知";
|
||||
dialogVisible.title = "新增工作流";
|
||||
formData.id = undefined;
|
||||
}
|
||||
dialogVisible.visible = true;
|
||||
|
||||
@@ -405,14 +405,14 @@ async function handleOpenDialog(type: 'create' | 'update' | 'detail', id?: numbe
|
||||
if (id) {
|
||||
const response = await DictAPI.getDictDataDetail(id);
|
||||
if (type === 'detail') {
|
||||
dialogVisible.title = "公告通知详情";
|
||||
dialogVisible.title = "字典数据详情";
|
||||
Object.assign(detailFormData.value, response.data.data);
|
||||
} else if (type === 'update') {
|
||||
dialogVisible.title = "修改公告通知";
|
||||
dialogVisible.title = "修改字典数据";
|
||||
Object.assign(formData, response.data.data);
|
||||
}
|
||||
} else {
|
||||
dialogVisible.title = "新增公告通知";
|
||||
dialogVisible.title = "新增字典数据";
|
||||
formData.id = undefined;
|
||||
formData.dict_type = props.dictType;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user