| | |
| | | redirect: '/404' |
| | | }, |
| | | { |
| | | path: '/UIContentViewer', |
| | | name: 'UI上下文', |
| | | path: '/dynamic-form', |
| | | name: '动态表格页面', |
| | | component: Layout, |
| | | children: [ |
| | | { |
| | | path: '', |
| | | component: () => import("@/views/base/UIContentVIewer"), |
| | | path: '', // 空路径表示访问 '/dynamic-form' 时加载 Layout 组件 |
| | | component: () => import('@/components/dynamic-components/dynamic-form'), |
| | | props: true |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/dynamic-form', |
| | | path: '/UIContentViewer', |
| | | name: '动态表格页面', |
| | | component: Layout, |
| | | children: [ |
| | | { |
| | | path: '', // 空路径表示访问 '/dynamic-table' 时加载 Layout 组件 |
| | | component: () => import('@/components/dynamic-components/dynamic-form'), |
| | | path: '', // 空路径表示访问 '/dynamic-form' 时加载 Layout 组件 |
| | | component: () => import('@/views/base/UIContentViewer'), |
| | | props: true |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/referIndex', |
| | | name: '动态表格页面', |
| | | component: Layout, |
| | | children: [ |
| | | { |
| | | path: '', // 空路径表示访问 '/dynamic-form' 时加载 Layout 组件 |
| | | component: () => import('@/views/test/referDemo/index'), |
| | | props: true |
| | | } |
| | | ] |