[bugfix] Toast: max width of text type (#2074)

This commit is contained in:
neverland
2018-11-12 19:56:48 +08:00
committed by GitHub
parent 67a3821ad9
commit dd11d386d6
4 changed files with 22 additions and 22 deletions
+1 -5
View File
@@ -13,10 +13,9 @@ Vue.use(Toast);
#### 文字提示
```javascript
Toast('我是提示文案,建议不超过十五字~');
Toast('提示内容');
```
#### 加载提示
```javascript
@@ -26,7 +25,6 @@ Toast.loading({
});
```
#### 成功/失败提示
```javascript
@@ -34,7 +32,6 @@ Toast.success('成功文案');
Toast.fail('失败文案');
```
#### 高级用法
```javascript
@@ -81,7 +78,6 @@ toast1.clear();
toast2.clear();
```
### 方法
| 方法名 | 参数 | 返回值 | 介绍 |