瀏覽代碼

去除console.log

yangc 7 年之前
父節點
當前提交
37f1716499
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      components/home/floor/FloorBar.vue

+ 1 - 1
components/home/floor/FloorBar.vue

@@ -52,7 +52,7 @@
           for (let i = 0; i < listHeight.length; i++) {
             let height1 = listHeight[i]
             // let height2 = listHeight[i + 1]
-            console.log(height1, _scrollHeight)
+//            console.log(height1, _scrollHeight)
             if (_scrollHeight >= height1) this.activeFloor = i
             // if (_scrollHeight >= height1 && _scrollHeight < height2) {
             //   this.activeFloor = i