Sfoglia il codice sorgente

去除首页求购定时轮询

yangc 7 anni fa
parent
commit
41797b62dd
1 ha cambiato i file con 11 aggiunte e 11 eliminazioni
  1. 11 11
      components/home/floor/FloorList.vue

+ 11 - 11
components/home/floor/FloorList.vue

@@ -104,17 +104,17 @@
         isChange: false
       }
     },
-    mounted () {
-      setInterval(() => {
-        let _this = this
-        _this.timerIndex ++
-        if (_this.timerIndex % 45 === 0) {
-          for (let i = 0; i < _this.listTemplate.content.length; i++) {
-            this.purchaseManList.content.push(_this.listTemplate.content[i])
-          }
-        }
-      }, 3000)
-    },
+//    mounted () {
+//      setInterval(() => {
+//        let _this = this
+//        _this.timerIndex ++
+//        if (_this.timerIndex % 45 === 0) {
+//          for (let i = 0; i < _this.listTemplate.content.length; i++) {
+//            this.purchaseManList.content.push(_this.listTemplate.content[i])
+//          }
+//        }
+//      }, 3000)
+//    },
     filters: {
       date: function (date) {
         const now = new Date().getDate()