From 836abc89bdb278909871fb2f8e246cc99a37361c Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 02 十一月 2021 09:56:11 +0800
Subject: [PATCH] 2021-11-01

---
 src/tabviews/zshare/automatic/index.jsx |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/tabviews/zshare/automatic/index.jsx b/src/tabviews/zshare/automatic/index.jsx
index 6a8d387..1ebc33a 100644
--- a/src/tabviews/zshare/automatic/index.jsx
+++ b/src/tabviews/zshare/automatic/index.jsx
@@ -15,8 +15,7 @@
   state = {
     running: false,
     line: 1,
-    gap: 2000,
-    init: true
+    gap: 2000
   }
 
   timer = null
@@ -114,7 +113,7 @@
     setTimeout(() => {
       MKEmitter.emit('triggerBtnId', autoMatic.action, [data], 'autoMatic')
       if (['prompt', 'pop'].includes(autoMatic.OpenType)) {
-        let delay = this.state.init && autoMatic.OpenType === 'pop' ? 2000 : 200
+        let delay = autoMatic.OpenType === 'pop' ? 2000 : 300
 
         setTimeout(() => {
           if (autoMatic.OpenType === 'prompt') {

--
Gitblit v1.8.0