HuaJingwen 6 years ago
parent
commit
ae4b2703b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dist/index.js

+ 1 - 1
dist/index.js

280
                     toast.classList.add('show');
280
                     toast.classList.add('show');
281
                     toCopy();
281
                     toCopy();
282
                     setTimeout(function () {
282
                     setTimeout(function () {
283
-                        toast.classList.remove('show').add('hide');
283
+                        toast.classList.add('hide').remove('show');
284
                     }, 2000)
284
                     }, 2000)
285
                 }, false)
285
                 }, false)
286
             }
286
             }