Browse Source

去除console.log

yangc 7 years ago
parent
commit
37f1716499
1 changed files with 1 additions and 1 deletions
  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++) {
           for (let i = 0; i < listHeight.length; i++) {
             let height1 = listHeight[i]
             let height1 = listHeight[i]
             // let height2 = listHeight[i + 1]
             // let height2 = listHeight[i + 1]
-            console.log(height1, _scrollHeight)
+//            console.log(height1, _scrollHeight)
             if (_scrollHeight >= height1) this.activeFloor = i
             if (_scrollHeight >= height1) this.activeFloor = i
             // if (_scrollHeight >= height1 && _scrollHeight < height2) {
             // if (_scrollHeight >= height1 && _scrollHeight < height2) {
             //   this.activeFloor = i
             //   this.activeFloor = i