feat(form-page): add form page demo

This commit is contained in:
vben
2020-11-17 17:02:42 +08:00
parent 4ddee05dee
commit 0b6110a8fc
43 changed files with 1389 additions and 116 deletions

View File

@@ -14,7 +14,7 @@ const menu: MenuModule = {
name: '基础表单',
tag: {
type: 'warn',
content: 'updated',
dot: true,
},
},
{
@@ -34,7 +34,7 @@ const menu: MenuModule = {
name: '表单校验',
tag: {
type: 'warn',
content: 'updated',
dot: true,
},
},
{
@@ -42,7 +42,7 @@ const menu: MenuModule = {
name: '动态表单',
tag: {
type: 'warn',
content: 'updated',
dot: true,
},
},
{
@@ -50,7 +50,7 @@ const menu: MenuModule = {
name: '自定义组件',
tag: {
type: 'warn',
content: 'updated',
dot: true,
},
},
],

View File

@@ -15,6 +15,27 @@ const menu: MenuModule = {
dot: true,
},
children: [
{
path: 'form',
name: '表单页',
tag: {
content: 'new',
},
children: [
{
path: 'basic',
name: '基础表单',
},
{
path: 'step',
name: '分步表单',
},
{
path: 'high',
name: '高级表单',
},
],
},
{
path: 'result',
name: '结果页',

View File

@@ -4,6 +4,9 @@ const menu: MenuModule = {
menu: {
path: '/table',
name: 'Table',
tag: {
dot: true,
},
children: [
{
path: 'basic',
@@ -61,6 +64,13 @@ const menu: MenuModule = {
path: 'editCellTable',
name: '可编辑单元格',
},
{
path: 'editRowTable',
name: '可编辑行',
tag: {
content: 'new',
},
},
],
},
};