#
whycq
2022-08-08 1a9f0067e8c8b7ef1111b2dd3cf087397943f14c
src/main/webapp/static/js/console.js
@@ -97,7 +97,6 @@
        var position = (i+1)*100
        floorBtn =
            "<button class='floorBtn btn-16' onclick='changFloor("+i+")' style='top: "+position+"px;'>" + floor +"</button>"
        console.log(mapInfo.areas[0].floors.length)
        if (mapInfo.areas[0].floors.length == 1) {
            floorBtnss = ''
        } else {
@@ -137,7 +136,7 @@
    $(".main-part").append(floorInfo)
    $("#line-total").html(total[0])
    listenChange();
    // listenChange();
}
function changFloor(e) {
@@ -146,5 +145,5 @@
    $(".main-part").append(floorInfo)
    $("#line-total").empty()
    $("#line-total").html(total[e])
    listenChange();
    // listenChange();
}