diff --git a/src/menu/index.js b/src/menu/index.js index d3df29ed..a798a434 100644 --- a/src/menu/index.js +++ b/src/menu/index.js @@ -140,6 +140,13 @@ const demoElement = { { path: `${pre}basic-icon`, title: '图标' }, { path: `${pre}basic-button`, title: '按钮' } ] + }, + { + path: `${pre}form`, + title: '表单', + children: [ + { path: `${pre}form-radio`, title: '单选框' } + ] } ])('/demo/element/') } diff --git a/src/pages/demo/element/form-radio/index.vue b/src/pages/demo/element/form-radio/index.vue new file mode 100644 index 00000000..c2988d92 --- /dev/null +++ b/src/pages/demo/element/form-radio/index.vue @@ -0,0 +1,5 @@ + diff --git a/src/router/index.js b/src/router/index.js index 565c331d..e8ad3f33 100755 --- a/src/router/index.js +++ b/src/router/index.js @@ -114,6 +114,7 @@ const routes = [ { path: 'basic-typography', name: `${pre}basic-typography`, component: () => import('@/pages/demo/element/basic-typography/index.vue'), meta }, { path: 'basic-icon', name: `${pre}basic-icon`, component: () => import('@/pages/demo/element/basic-icon/index.vue'), meta }, { path: 'basic-button', name: `${pre}basic-button`, component: () => import('@/pages/demo/element/basic-button/index.vue'), meta }, + { path: 'form-radio', name: `${pre}form-radio`, component: () => import('@/pages/demo/element/form-radio/index.vue'), meta }, { path: 'index', name: `${pre}index`, component: () => import('@/pages/demo/element/index/index.vue'), meta } ])('demo-element-') },