diff --git a/examples/router/routes.js b/examples/router/routes.js index ab87345..769d09d 100644 --- a/examples/router/routes.js +++ b/examples/router/routes.js @@ -76,6 +76,12 @@ const _components = [ group: '其它', children: [ { + path: 'specification', + name: 'specification', + meta: { title: 'Specification 说明' }, + component: () => import('@/views/docs/component/specification.md'), + }, + { path: 'other', name: 'other', meta: { title: 'Other 其它' }, diff --git a/examples/views/docs/component/scheme.md b/examples/views/docs/component/scheme.md index 517cd1c..da6f5e5 100644 --- a/examples/views/docs/component/scheme.md +++ b/examples/views/docs/component/scheme.md @@ -1,12 +1,12 @@ # Scheme 方案 -Scheme是一个数据驱动的解决方案,通过既定的业务配置参数,生成可模块化编辑的`CURD`业务视图 +Scheme是一个数据驱动的解决方案,通过既定的业务配置参数,生成可模块化编辑的`CURD`业务视图。本组件核心是将一个list解析为Search、Table、Form三个组件的配置项,再将这几个组件组合使用。 ## 基础用法 -配置一个数据项列表快速生成一个增删改查业务视图 +配置一个数据项列表快速生成一个增删改查业务视图,默认为静态数据维护。 -::: snippet 使用`list`属性设置数据源,列表项中的`type`指定组件类型,其它包括**Form**、**Detail**、**Search**组件的配置参数格式 +::: snippet 使用`list`属性设置数据源,列表项中的`type`指定组件类型,其它参数包括**Form**、**Table**、**Search**组件的配置参数格式。可以使用`include`和`exclude`设置需要包括或者排除在哪个组件中,支持**String**和**Array**,不传则表示默认存在所有组件中。 ```html