Fix README.md (#4891)

The Toast instance introduced an error path
This commit is contained in:
王志鑫 2022-07-23 22:39:35 +08:00 committed by GitHub
parent e21dbd0d66
commit f888e77cd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@
### 文字提示
```javascript
import Toast from 'path/to/@vant/weapp/dist/toast/toast';
import Toast from '@vant/weapp/toast/toast';
Toast('我是提示文案,建议不超过十五字~');
```