_attachNextEvent: function() { var t = this; t.next.click(function() { //在这里加判断 var e = t.currentStepIdx; e >= t.stepsCount + 1 ? t.element.modal("hide") : (e >= t.stepsCount ? t.next.text(t.options.finishText) : t.next.text(t.options.nextText), e + 1 <= 1 ? t.prev.addClass("disabled").attr("disabled", "disabled") : t.prev.removeClass("disabled").removeAttr("disabled"), t._completeStep(e), t._showContent(e + 1)) }) },