From bf9649f6e8f0c00245318ccbbb7157892933b7a8 Mon Sep 17 00:00:00 2001 From: 梁灏 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 8c55704..4ef9bfa 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 6400d36..fd9bdad 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, -- libgit2 0.21.4