From 5f8aab0d6e02aa8c528a5a00adc159b9d590022c Mon Sep 17 00:00:00 2001 From: jiangruowei Date: Thu, 30 Mar 2017 20:16:28 +0800 Subject: [PATCH] fix: fix typo --- docs/examples-docs/toast.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples-docs/toast.md b/docs/examples-docs/toast.md index d7ab01c40..9cc8d7b65 100644 --- a/docs/examples-docs/toast.md +++ b/docs/examples-docs/toast.md @@ -38,7 +38,7 @@ export default { type: 'success', message: leftSec.toString() }); - cosnt id = window.setInterval(() => { + const id = window.setInterval(() => { if (leftSec <= 1) { window.clearInterval(id); toast.message = '跳转中...'