1
This commit is contained in:
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 616 KiB |
@@ -132,7 +132,7 @@ const rules = reactive({
|
||||
],
|
||||
content: [
|
||||
{ required: true, message: "请输入内容", trigger: "blur" },
|
||||
{ min: 10, max: 4000, message: "长度 10 到9999", trigger: "blur" },
|
||||
{ min: 10, message: "长度 大于 10", trigger: "blur" },
|
||||
],
|
||||
});
|
||||
//提交按钮,需要区分操作类型
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Yi.BBS.Domain.Forum.Entities
|
||||
public long Id { get; set; }
|
||||
public bool IsDeleted { get; set; }
|
||||
|
||||
[SugarColumn(Length = 9999)]
|
||||
[SugarColumn(Length = 999999)]
|
||||
public string Content { get; set; }
|
||||
public string Name { get; set; }
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace Yi.BBS.Domain.Forum.Entities
|
||||
/// </summary>
|
||||
public string? Cover { get; set; }
|
||||
|
||||
[SugarColumn(Length =9999)]
|
||||
[SugarColumn(Length =999999)]
|
||||
public string Content { get; set; }
|
||||
|
||||
public string? Color { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user