瀏覽代碼

fix a typo

DIYgod 7 年之前
父節點
當前提交
1331b6d5c0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/time.js

+ 1 - 1
src/time.js

@@ -88,7 +88,7 @@ class Time {
         }
         }
     }
     }
 
 
-    distroy (type) {
+    destroy (type) {
         if (type) {
         if (type) {
             clearInterval(this[`${type}Checker`]);
             clearInterval(this[`${type}Checker`]);
         }
         }