diff --git a/src/main/resources/static/js/synthesisQuery/digitalSignage.js b/src/main/resources/static/js/synthesisQuery/digitalSignage.js index 8592124..f384da2 100644 --- a/src/main/resources/static/js/synthesisQuery/digitalSignage.js +++ b/src/main/resources/static/js/synthesisQuery/digitalSignage.js @@ -925,6 +925,7 @@ 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 === "跨线路") { @@ -962,6 +963,8 @@ function getScrollData(id) { `; }); + } else { + $(".scroll-box").hide(); } scrollBox.html(innerHtml);