diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/interceptor/RepeatSubmitInterceptor.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/interceptor/RepeatSubmitInterceptor.java index ea7f9649..7c0c20e7 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/interceptor/RepeatSubmitInterceptor.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/interceptor/RepeatSubmitInterceptor.java @@ -30,6 +30,7 @@ public abstract class RepeatSubmitInterceptor extends HandlerInterceptorAdapter if (annotation != null) { if (this.isRepeatSubmit(request)) { + AjaxResult ajaxResult = AjaxResult.error("不允许重复提交,请稍后再试"); ServletUtils.renderString(response, JSONObject.toJSONString(ajaxResult)); return false; diff --git a/ruoyi-workFlow/ruoyi-workFlow.iml b/ruoyi-workFlow/ruoyi-workFlow.iml index 9bd77f2d..f62c25e8 100644 --- a/ruoyi-workFlow/ruoyi-workFlow.iml +++ b/ruoyi-workFlow/ruoyi-workFlow.iml @@ -9,7 +9,9 @@ - + + +