diff --git a/src/main/resources/static/js/synthesisQuery/digitalSignage.js b/src/main/resources/static/js/synthesisQuery/digitalSignage.js index f384da2..06a9a29 100644 --- a/src/main/resources/static/js/synthesisQuery/digitalSignage.js +++ b/src/main/resources/static/js/synthesisQuery/digitalSignage.js @@ -925,7 +925,6 @@ function getScrollData(id) { let scrollBox = $(".content-wrapper"); let innerHtml = ""; if (data && data.length > 0) { - $(".scroll-box").show(); data.forEach((item) => { let describeHtml = ""; if (item.spanType === "跨线路") { @@ -963,11 +962,11 @@ function getScrollData(id) { `; }); + $(".scroll-box").show(); + scrollBox.html(innerHtml); } else { $(".scroll-box").hide(); } - - scrollBox.html(innerHtml); }, function (xhr) { error(xhr);