fix vue3下点击编辑,取消修改报错问题

2.X
疯狂的狮子li 3 years ago
parent b43a720a6d
commit 726116e8f6

@ -9,6 +9,7 @@ import lombok.experimental.Accessors;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
/**
@ -42,8 +43,8 @@ public class SysDept extends TreeEntity {
*
*/
@ApiModelProperty(value = "显示顺序")
@NotBlank(message = "显示顺序不能为空")
private String orderNum;
@NotNull(message = "显示顺序不能为空")
private Long orderNum;
/**
*

@ -41,8 +41,8 @@ public class SysMenu extends TreeEntity {
*
*/
@ApiModelProperty(value = "显示顺序")
@NotBlank(message = "显示顺序不能为空")
private String orderNum;
@NotNull(message = "显示顺序不能为空")
private Long orderNum;
/**
*

Loading…
Cancel
Save