From f888e77cd266b3bd11ef44150d71c64007340e36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BF=97=E9=91=AB?= <50623519+wang-zhixin@users.noreply.github.com> Date: Sat, 23 Jul 2022 22:39:35 +0800 Subject: [PATCH] Fix README.md (#4891) The Toast instance introduced an error path --- packages/toast/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/toast/README.md b/packages/toast/README.md index db8ebe67..d2fb5a78 100644 --- a/packages/toast/README.md +++ b/packages/toast/README.md @@ -19,7 +19,7 @@ ### 文字提示 ```javascript -import Toast from 'path/to/@vant/weapp/dist/toast/toast'; +import Toast from '@vant/weapp/toast/toast'; Toast('我是提示文案,建议不超过十五字~'); ```