소스 검색

邵根的bug,setInterval间隔2000改为1000

任一存 3 년 전
부모
커밋
0dd2364622
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      web/src/views/Collections/component/info.vue

+ 2 - 2
web/src/views/Collections/component/info.vue

@@ -125,7 +125,7 @@ export default {
               this.bigNumLeft = Math.ceil(Math.random() * maxLeft) + "px";
               this.bigNumLeft = Math.ceil(Math.random() * maxLeft) + "px";
               this.bigNumTop = Math.ceil(Math.random() * maxTop) + "px";
               this.bigNumTop = Math.ceil(Math.random() * maxTop) + "px";
             }
             }
-          }, 2000);
+          }, 1000);
         }, 100);
         }, 100);
       });
       });
     },
     },
@@ -183,7 +183,7 @@ export default {
             this.numLeft = Math.ceil(Math.random() * bigLeft) + "px";
             this.numLeft = Math.ceil(Math.random() * bigLeft) + "px";
             this.numTop = Math.ceil(Math.random() * bigTop) + "px";
             this.numTop = Math.ceil(Math.random() * bigTop) + "px";
           } else this.num = 0;
           } else this.num = 0;
-        }, 2000);
+        }, 1000);
       }, 100);
       }, 100);
     });
     });
   },
   },