diff --git a/tamguo-tms/src/main/resources/static/js/paper.js b/tamguo-tms/src/main/resources/static/js/paper.js index 6bcdbff..4a698ee 100644 --- a/tamguo-tms/src/main/resources/static/js/paper.js +++ b/tamguo-tms/src/main/resources/static/js/paper.js @@ -17,7 +17,7 @@ $(function(){ $(this).addClass("selected-quescontainer"); $(".queanalyse-wrap").show(800); $(".queanalyse-wrap").css("left", (document.body.clientWidth - 1200) / 2 + $('.question-box').width()+ 20); - var dataIndex = $(this).attr("data-index"); + var dataIndex = $(this).find(".queindex").text(); $.ajax({ type : "get", url : mainHttp + "question/getQuestion/" + $(this).attr("data-id")+ ".html",