This commit is contained in:
parent
8e2a6b8ce5
commit
4dac8c2a00
|
|
@ -925,7 +925,6 @@ 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 === "跨线路") {
|
||||||
|
|
@ -963,11 +962,11 @@ function getScrollData(id) {
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
});
|
});
|
||||||
|
$(".scroll-box").show();
|
||||||
|
scrollBox.html(innerHtml);
|
||||||
} else {
|
} else {
|
||||||
$(".scroll-box").hide();
|
$(".scroll-box").hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
scrollBox.html(innerHtml);
|
|
||||||
},
|
},
|
||||||
function (xhr) {
|
function (xhr) {
|
||||||
error(xhr);
|
error(xhr);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue