This commit is contained in:
parent
8e2a6b8ce5
commit
4dac8c2a00
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue