mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-05-22 06:31:46 +08:00
[Doc] fix Toast import path
This commit is contained in:
parent
0cfd08ed90
commit
6aeaf6c96a
@ -14,7 +14,7 @@
|
||||
#### 文字提示
|
||||
|
||||
```javascript
|
||||
import Toast from 'path/to/vant-weapp/dist/toast/index';
|
||||
import Toast from 'path/to/vant-weapp/dist/toast/toast';
|
||||
|
||||
Toast('我是提示文案,建议不超过十五字~');
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user