diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysMainController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysMainController.java index 1558f40..583c81a 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysMainController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysMainController.java @@ -113,6 +113,7 @@ public class SysMainController { map.put("agreement",agreements); break; default: + map.put("agreementTypeName","未配置协议"); break; } } diff --git a/ruoyi-admin/src/main/resources/templates/index-topnav.html b/ruoyi-admin/src/main/resources/templates/index-topnav.html index b5c7fce..60caf5d 100644 --- a/ruoyi-admin/src/main/resources/templates/index-topnav.html +++ b/ruoyi-admin/src/main/resources/templates/index-topnav.html @@ -4,7 +4,7 @@ -