jinxia.mo 1 ماه پیش
والد
کامیت
823f453e7e
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      ie-admin/src/main/java/com/ruoyi/web/controller/front/UserController.java

+ 2 - 2
ie-admin/src/main/java/com/ruoyi/web/controller/front/UserController.java

@@ -137,8 +137,8 @@ public class UserController extends BaseController {
         List<JSONObject> resultList = new ArrayList<>();
         for(int i = year; i <= year + 6; i++) {
             JSONObject o = new JSONObject();
-            o.put("dictValue", year);
-            o.put("dictLabel", year.toString());
+            o.put("dictValue", i);
+            o.put("dictLabel", String.valueOf(i));
             resultList.add(o);
         }
         return AjaxResult.success(resultList);