lsc 1 jaar geleden
bovenliggende
commit
29843c54c9
5 gewijzigde bestanden met toevoegingen van 16 en 13 verwijderingen
  1. 0 0
      dist/index.html
  2. 1 1
      dist/report.html
  3. 0 0
      dist/static/js/app.9718619d.js
  4. 0 0
      dist/static/js/app.cf9998dc.js
  5. 15 12
      src/App.vue

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 1 - 1
dist/report.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.9718619d.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.cf9998dc.js


+ 15 - 12
src/App.vue

@@ -42,18 +42,21 @@ export default {
       }
     },
     toggleVc() {
-      const nowTime = new Date().getTime()
-      if (nowTime - this.lastClickTime < 3000) {
-        this.count++
-      } else {
-        this.count = 0
-      }
-      this.lastClickTime = nowTime
-      if (this.count >= this.limit) {
-        const vconDom = document.getElementById('__vconsole')
-        this.toggleClass(vconDom, 'show')
-        this.count = 0
-      }
+      // const nowTime = new Date().getTime()
+      // if (nowTime - this.lastClickTime < 3000) {
+      //   this.count++
+      // } else {
+      //   this.count = 0
+      // }
+      // this.lastClickTime = nowTime
+      // if (this.count >= this.limit) {
+      //   const vconDom = document.getElementById('__vconsole')
+      //   this.toggleClass(vconDom, 'show')
+      //   this.count = 0
+      // }
+
+      const vconDom = document.getElementById('__vconsole')
+      this.toggleClass(vconDom, 'show')
     }
   }
 }

Some files were not shown because too many files changed in this diff