fix bugs and add new features (#25)

* fix bugs and add new features

* add unit test

* fix tab/tag/datetime-picker bugs
This commit is contained in:
TimeTraveler
2017-05-03 10:11:31 +08:00
committed by 张敏
parent 58bd17f142
commit 239d2e1e53
31 changed files with 134 additions and 27 deletions
+6 -1
View File
@@ -20,9 +20,10 @@ export default {
```js
import Vue from 'vue';
import { Cell } from 'vant';
import { Cell, CellGroup } from 'vant';
import 'vant/lib/vant-css/cell.css';
Vue.component(CellGroup.name, CellGroup);
Vue.component(Cell.name, Cell);
```
@@ -32,9 +33,11 @@ Vue.component(Cell.name, Cell);
```js
import { Cell } from 'vant';
import 'vant/lib/vant-css/cell.css';
export default {
components: {
'van-cell-group': CellGroup,
'van-cell': Cell
}
};
@@ -44,6 +47,8 @@ export default {
#### 基础用法
你可以将`van-cell-group`组件看成一个容器即可。
:::demo 基础用法
```html
<van-cell-group>