This commit is contained in:
parent
ce3080e8b1
commit
8e2a6b8ce5
|
|
@ -925,6 +925,7 @@ function getScrollData(id) {
|
||||||
let scrollBox = $(".content-wrapper");
|
let scrollBox = $(".content-wrapper");
|
||||||
let innerHtml = "";
|
let innerHtml = "";
|
||||||
if (data && data.length > 0) {
|
if (data && data.length > 0) {
|
||||||
|
$(".scroll-box").show();
|
||||||
data.forEach((item) => {
|
data.forEach((item) => {
|
||||||
let describeHtml = "";
|
let describeHtml = "";
|
||||||
if (item.spanType === "跨线路") {
|
if (item.spanType === "跨线路") {
|
||||||
|
|
@ -962,6 +963,8 @@ function getScrollData(id) {
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
$(".scroll-box").hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
scrollBox.html(innerHtml);
|
scrollBox.html(innerHtml);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue