From 9f5e2c7e4db975933ff6e481a183d51db396cdfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Tue, 3 Jan 2017 16:18:21 +0800 Subject: [PATCH] update Form update Form --- src/components/form/form-item.vue | 231 +++++++++++++++++++++++++++++- src/components/form/form.vue | 83 ++++++++++- test/app.vue | 1 + test/main.js | 7 +- test/routers/form.vue | 17 +++ 5 files changed, 326 insertions(+), 13 deletions(-) create mode 100644 test/routers/form.vue diff --git a/src/components/form/form-item.vue b/src/components/form/form-item.vue index 5bc46767..2ac5c5d8 100644 --- a/src/components/form/form-item.vue +++ b/src/components/form/form-item.vue @@ -1,13 +1,232 @@ \ No newline at end of file diff --git a/src/components/form/form.vue b/src/components/form/form.vue index 5bc46767..d21d1c4d 100644 --- a/src/components/form/form.vue +++ b/src/components/form/form.vue @@ -1,13 +1,84 @@ \ No newline at end of file diff --git a/test/app.vue b/test/app.vue index da70f421..3dfec764 100644 --- a/test/app.vue +++ b/test/app.vue @@ -46,6 +46,7 @@ li + li {
  • Tabs
  • Menu
  • Date
  • +
  • Form
  • diff --git a/test/main.js b/test/main.js index 2de4520a..1531880a 100644 --- a/test/main.js +++ b/test/main.js @@ -127,7 +127,12 @@ router.map({ component: function (resolve) { require(['./routers/date.vue'], resolve); } - } + }, + '/form': { + component: function (resolve) { + require(['./routers/form.vue'], resolve); + } + }, }); router.beforeEach(function () { diff --git a/test/routers/form.vue b/test/routers/form.vue new file mode 100644 index 00000000..6891a291 --- /dev/null +++ b/test/routers/form.vue @@ -0,0 +1,17 @@ + + \ No newline at end of file