docs(Toast): update demo (#6909)

This commit is contained in:
neverland
2020-07-30 21:38:54 +08:00
committed by GitHub
parent d4eb3632e1
commit a8debb9266
4 changed files with 70 additions and 99 deletions
+6 -6
View File
@@ -24,12 +24,6 @@ Toast.loading({
message: 'Loading...',
forbidClick: true,
});
Toast.loading({
message: 'Loading...',
forbidClick: true,
loadingType: 'spinner',
});
```
### Success/Fail
@@ -51,6 +45,12 @@ Toast({
message: 'Custom Image',
icon: 'https://img.yzcdn.cn/vant/logo.png',
});
Toast.loading({
message: 'Loading...',
forbidClick: true,
loadingType: 'spinner',
});
```
### Update Message