diff --git a/src/App.vue b/src/App.vue index 14c78cf..d5485ab 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,7 +4,12 @@ Form Demo 2: 行内表单
Form Demo 3: 表单验证
Form Demo 4: 动态表单
- Form Demo 5: Select组件
+ Form Demo 5: Select组件01-组件大小
+ Form Demo 6: Select组件02-禁用状态
+ Form Demo 7: Select组件03-多选
+ Form Demo 8: Select组件04-自定义模板
+ Form Demo 9: Select组件05-筛选
+ Form Demo 10: Select组件06-分组

diff --git a/src/router/index.js b/src/router/index.js index af5825a..7569cb1 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -7,6 +7,11 @@ const formDemo2 = () => import('../views/Form_Demo2.vue') const formDemo3 = () => import('../views/Form_Demo3.vue') const formDemo4 = () => import('../views/Form_Demo4.vue') const formDemo5 = () => import('../views/Form_Demo5.vue') +const formDemo6 = () => import('../views/Form_Demo6.vue') +const formDemo7 = () => import('../views/Form_Demo7.vue') +const formDemo8 = () => import('../views/Form_Demo8.vue') +const formDemo9 = () => import('../views/Form_Demo9.vue') +const formDemo10 = () => import('../views/Form_Demo10.vue') // 引入组件 @@ -39,6 +44,31 @@ const routes = [ name: 'form5', component: formDemo5 }, + { + path: '/form6', + name: 'form6', + component: formDemo6 + }, + { + path: '/form7', + name: 'form7', + component: formDemo7 + }, + { + path: '/form8', + name: 'form8', + component: formDemo8 + }, + { + path: '/form9', + name: 'form9', + component: formDemo9 + }, + { + path: '/form10', + name: 'form10', + component: formDemo10 + }, ] // 创建路由器,使用createRouter方法,传入history(路由类型)和 创建好的路由routes diff --git a/src/views/Form_Demo10.vue b/src/views/Form_Demo10.vue new file mode 100644 index 0000000..5d56f44 --- /dev/null +++ b/src/views/Form_Demo10.vue @@ -0,0 +1,69 @@ + + + + + \ No newline at end of file diff --git a/src/views/Form_Demo5.vue b/src/views/Form_Demo5.vue index 3b32ce6..ff4ced7 100644 --- a/src/views/Form_Demo5.vue +++ b/src/views/Form_Demo5.vue @@ -1,5 +1,21 @@ + + + + + \ No newline at end of file diff --git a/src/views/Form_Demo7.vue b/src/views/Form_Demo7.vue new file mode 100644 index 0000000..e56cac6 --- /dev/null +++ b/src/views/Form_Demo7.vue @@ -0,0 +1,83 @@ + + + + + + \ No newline at end of file diff --git a/src/views/Form_Demo8.vue b/src/views/Form_Demo8.vue new file mode 100644 index 0000000..7b721d6 --- /dev/null +++ b/src/views/Form_Demo8.vue @@ -0,0 +1,49 @@ + + + + + \ No newline at end of file diff --git a/src/views/Form_Demo9.vue b/src/views/Form_Demo9.vue new file mode 100644 index 0000000..6590113 --- /dev/null +++ b/src/views/Form_Demo9.vue @@ -0,0 +1,47 @@ + + + + + \ No newline at end of file