src/main/java/com/zy/common/model/enums/HtmlNavIconType.java
@@ -19,14 +19,15 @@ private String code; private String icon; HtmlNavIconType(String code, String icon){ HtmlNavIconType(String code, String icon) { this.code = code; this.icon = icon; } public static String get(String code) { for (HtmlNavIconType type : HtmlNavIconType.values()){ if (type.code.equals(code)){ for (HtmlNavIconType type : HtmlNavIconType.values()) { if (type.code.equals(code)) { return type.icon; } }