docs: add import when using Toast or Notify
This commit is contained in:
@@ -63,6 +63,8 @@ export default {
|
||||
```
|
||||
|
||||
```js
|
||||
import { Notify } from 'vant';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
@@ -72,6 +72,8 @@ export default {
|
||||
```
|
||||
|
||||
```js
|
||||
import { Notify } from 'vant';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user