This commit is contained in:
BianLzhaoMin 2025-05-13 15:08:43 +08:00
parent ce3080e8b1
commit 8e2a6b8ce5
1 changed files with 3 additions and 0 deletions

View File

@ -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) {
</div>
`;
});
} else {
$(".scroll-box").hide();
}
scrollBox.html(innerHtml);