diff --git a/sino-activity/src/main/resources/templates/activity/info/add.html b/sino-activity/src/main/resources/templates/activity/info/add.html index 3127e6bf6..393351af9 100644 --- a/sino-activity/src/main/resources/templates/activity/info/add.html +++ b/sino-activity/src/main/resources/templates/activity/info/add.html @@ -1121,6 +1121,8 @@ // 该事件在离开某个步骤之前触发 $("#smartwizard").on("leaveStep", function (e, anchorObject, currentStepNumber, nextStepNumber, stepDirection) { if (stepDirection == 'forward') { + var form = $("#step-" + (currentStepNumber + 1)).find('.form'); + console.log(form); return $("#step-" + (currentStepNumber + 1)).validate({ errorPlacement: function(error, element) { error.appendTo(element.parent().parent().parent()); diff --git a/sino-activity/src/main/resources/templates/activity/info/edit.html b/sino-activity/src/main/resources/templates/activity/info/edit.html index 8c2320fea..32f540d97 100644 --- a/sino-activity/src/main/resources/templates/activity/info/edit.html +++ b/sino-activity/src/main/resources/templates/activity/info/edit.html @@ -375,18 +375,18 @@