diff --git a/src/App.vue b/src/App.vue
index 88dae45..14c78cf 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -4,6 +4,7 @@
Form Demo 2: 行内表单
Form Demo 3: 表单验证
Form Demo 4: 动态表单
+ Form Demo 5: Select组件
diff --git a/src/router/index.js b/src/router/index.js
index 2ed1716..af5825a 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -6,6 +6,7 @@ const formDemo1 = () => import('../views/Form_Demo1.vue')
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')
// 引入组件
@@ -33,6 +34,11 @@ const routes = [
name: 'form4',
component: formDemo4
},
+ {
+ path: '/form5',
+ name: 'form5',
+ component: formDemo5
+ },
]
// 创建路由器,使用createRouter方法,传入history(路由类型)和 创建好的路由routes
diff --git a/src/views/Form_Demo4.vue b/src/views/Form_Demo4.vue
index 4f73216..0c41598 100644
--- a/src/views/Form_Demo4.vue
+++ b/src/views/Form_Demo4.vue
@@ -89,7 +89,6 @@ export default {
}
.domain-item {
margin-bottom: 15px!important;
- display: inline-block;
}
.ml-10 {
margin-left: 10px;
diff --git a/src/views/Form_Demo5.vue b/src/views/Form_Demo5.vue
new file mode 100644
index 0000000..3b32ce6
--- /dev/null
+++ b/src/views/Form_Demo5.vue
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file