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