mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-24 05:26:58 +00:00
feat(tenant): 添加租户编码字段及相关功能
- 在后端模型、schema和前端接口中添加code字段 - 在前端表格和表单中显示和编辑code字段 - 修改租户名称长度限制从50到64字符 - 添加编码字段的验证逻辑 - 更新WangEditor组件返回纯文本格式
This commit is contained in:
@@ -98,6 +98,7 @@ export interface ObjTable {
|
||||
index?: number;
|
||||
id?: number;
|
||||
name?: string;
|
||||
code?: string;
|
||||
status?: boolean;
|
||||
description?: string;
|
||||
created_at?: string;
|
||||
@@ -108,6 +109,7 @@ export interface ObjTable {
|
||||
export interface ObjForm {
|
||||
id?: number;
|
||||
name?: string;
|
||||
code?: string;
|
||||
status?: boolean;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user