diff --git a/frontend/web/assets/js/pop.js b/frontend/web/assets/js/pop.js index a50b550..c56c460 100644 --- a/frontend/web/assets/js/pop.js +++ b/frontend/web/assets/js/pop.js @@ -11,9 +11,9 @@ $(function(){ $(".model-bg").each(function (i) { - var _that=$(this); + let _that=$(this); _that.find(".nextPage").click(function () { - var key=i-1; + let key= i-1; console.log(key); _that.addClass("unchoose"); $(".model-bg").eq(i+1).removeClass("unchoose");