Doc: fix some incorrect titles

This commit is contained in:
陈嘉涵 2017-09-05 10:00:09 +08:00
parent d452fa4cef
commit 5e84e2e9cb
4 changed files with 3 additions and 27 deletions

View File

@ -21,7 +21,7 @@ export default {
}
</style>
## GoodsAction 商品操作组件
## GoodsAction 商品操作
### 使用指南
``` javascript

View File

@ -134,6 +134,7 @@ export default {
:price="1050"
:item-list="itemList3"
/>
```
```javascript
export default {

View File

@ -1,4 +1,4 @@
## PayOrder 支付订单
## PayOrder 提交订单栏
<script>
import { Toast } from 'packages';

View File

@ -153,31 +153,6 @@ export default {
```
:::
#### 传入html
:::demo 手动关闭
```html
<van-button @click="showHtmlToast">打开</van-button>
```
```javascript
import { Toast } from 'packages';
export default {
methods: {
showHtmlToast() {
Toast({
type: 'html',
message: '<em>HTML<em>'
})
}
}
};
```
:::
### 基础用法
#### Toast(options)