mirror of https://github.com/elunez/eladmin
fix: ✨️使用 Jackson 序列化对象时,Menu对象中 iFrame 属性名的大小写问题
Jackson 因此序列化时,属性会被默认输出为 IFrame(大写的 I),导致与前端代码期望的 iFrame(小写的 i)不一致master
parent
8c398e003c
commit
5e25ba6f84
|
@ -15,6 +15,7 @@
|
|||
*/
|
||||
package me.zhengjie.modules.system.service.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
@ -62,6 +63,7 @@ public class MenuDto extends BaseDTO implements Serializable {
|
|||
private Integer subCount;
|
||||
|
||||
@ApiModelProperty(value = "是否为Iframe")
|
||||
@JsonProperty("iFrame")
|
||||
private Boolean iFrame;
|
||||
|
||||
@ApiModelProperty(value = "是否缓存")
|
||||
|
|
Loading…
Reference in New Issue