This commit is contained in:
陈淳
2023-04-01 18:16:41 +08:00
parent 62310ab863
commit ad4fc6ea9b
5 changed files with 3 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 616 KiB

View File

@@ -132,7 +132,7 @@ const rules = reactive({
], ],
content: [ content: [
{ required: true, message: "请输入内容", trigger: "blur" }, { required: true, message: "请输入内容", trigger: "blur" },
{ min: 10, max: 4000, message: "长度 10 到9999", trigger: "blur" }, { min: 10, message: "长度 大于 10", trigger: "blur" },
], ],
}); });
//提交按钮,需要区分操作类型 //提交按钮,需要区分操作类型

View File

@@ -18,7 +18,7 @@ namespace Yi.BBS.Domain.Forum.Entities
public long Id { get; set; } public long Id { get; set; }
public bool IsDeleted { get; set; } public bool IsDeleted { get; set; }
[SugarColumn(Length = 9999)] [SugarColumn(Length = 999999)]
public string Content { get; set; } public string Content { get; set; }
public string Name { get; set; } public string Name { get; set; }

View File

@@ -35,7 +35,7 @@ namespace Yi.BBS.Domain.Forum.Entities
/// </summary> /// </summary>
public string? Cover { get; set; } public string? Cover { get; set; }
[SugarColumn(Length =9999)] [SugarColumn(Length =999999)]
public string Content { get; set; } public string Content { get; set; }
public string? Color { get; set; } public string? Color { get; set; }