This commit is contained in:
BianLzhaoMin 2025-05-13 15:10:11 +08:00
parent 8e2a6b8ce5
commit 4dac8c2a00
1 changed files with 2 additions and 3 deletions

View File

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