docs: add import when using Toast or Notify

This commit is contained in:
陈嘉涵
2020-01-18 08:25:24 +08:00
parent 78e4c153b1
commit 9bcfddc958
68 changed files with 206 additions and 149 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ Vue.use(Switch);
<van-switch v-model="checked" />
```
```javascript
```js
export default {
data() {
return {
+1 -1
View File
@@ -19,7 +19,7 @@ Vue.use(Switch);
<van-switch v-model="checked" />
```
```javascript
```js
export default {
data() {
return {