diff --git a/src/renderer/components/ft-toast/ft-toast.js b/src/renderer/components/ft-toast/ft-toast.js index be0b4e3e..5c8d541d 100644 --- a/src/renderer/components/ft-toast/ft-toast.js +++ b/src/renderer/components/ft-toast/ft-toast.js @@ -28,7 +28,7 @@ export default Vue.extend({ open: function (message, action, time) { const toast = { message: message, action: action || (() => { }), isOpen: false, timeout: null } toast.timeout = setTimeout(this.close, time || 3000, toast) - setImmediate(() => { toast.isOpen = true }) + setTimeout(() => { toast.isOpen = true }) if (this.toasts.length > 4) { this.remove(0) }