Commit f3dc447b431cd5a2b8028ade471b0c604d6b2062

Authored by 梁灏
1 parent 32a17436

update Cell

Showing 1 changed file with 6 additions and 4 deletions   Show diff stats
examples/routers/cell.vue
... ... @@ -13,11 +13,13 @@
13 13 <Cell title="标题四" selected></Cell>
14 14 <Cell title="标题五"></Cell>
15 15 <Cell title="标题六" disabled></Cell>
16   - <Cell title="标题七" extra="详细信息"></Cell>
  16 + <Cell title="标题七" extra="详细信息" to="/icon"></Cell>
17 17 <Cell title="标题七" extra="详细信息" selected></Cell>
18 18 <Cell title="标题七" label="附属内容" extra="详细信息"></Cell>
19   - <Cell title="标题八"></Cell>
20   - <Cell title="标题九"></Cell>
  19 + <Cell title="标题八">
  20 + <i-switch v-model="switch1" slot="extra"></i-switch>
  21 + </Cell>
  22 + <Cell title="标题九" to="/button"></Cell>
21 23 </CellGroup>
22 24 </Card>
23 25 </div>
... ... @@ -26,7 +28,7 @@
26 28 export default {
27 29 data(){
28 30 return {
29   -
  31 + switch1: false
30 32 }
31 33 }
32 34 }
... ...