From bf9649f6e8f0c00245318ccbbb7157892933b7a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Tue, 21 Mar 2017 13:57:29 +0800 Subject: [PATCH] add Form --- examples/routers/form.vue | 381 ++++++++++++++++++++++-------------- examples/routers/upload.vue | 316 +++++++++++++++--------------- src/index.js | 2 + 3 files changed, 398 insertions(+), 301 deletions(-) diff --git a/examples/routers/form.vue b/examples/routers/form.vue index 8c557041..4ef9bfa6 100644 --- a/examples/routers/form.vue +++ b/examples/routers/form.vue @@ -1,132 +1,253 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/index.js b/src/index.js index 6400d36f..fd9bdad4 100644 --- a/src/index.js +++ b/src/index.js @@ -67,6 +67,7 @@ const iview = { Dropdown, DropdownItem: Dropdown.Item, DropdownMenu: Dropdown.Menu, + Form, iForm: Form, FormItem: Form.Item, Col, @@ -103,6 +104,7 @@ const iview = { Spin, Step: Steps.Step, Steps, + // Switch, iSwitch: Switch, iTable: Table, Table,