mirror of
https://github.com/youzan/vant.git
synced 2026-05-02 01:01:43 +08:00
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