amis
amis 使用(模板 + 数据)
1 index.html
1.1 amis.embed 渲染 json 为前端页面
1.2 左侧菜单
2 Schema (页面配置)

2.1 容器类型
3 数据域
3.1 通过接口初始化数据域
3.2 显式配置 data 属性值
4 API
4.1 格式要求
4.1.1 推荐格式
4.1.2 兼容格式
4.2 自定义适配器
4.3 API 配置--Form
4.3.1 api
4.3.2 initApi
4.3.3 asyncApi
4.3.4 schemaApi
4.4 API 配置--Wizard
4.5 API 配置--CRUD
4.5.1 api
4.5.2 quickSaveApi
4.5.3 quickSaveItemApi
4.5.4 saveOrderApi
4.5.5 批量修改 API
4.6 API 配置--FormItem
4.6.1 Select
4.6.2 级联 Select (chained-select)
4.6.3 Tree
4.6.4 Matrix
4.7 API 配置--Page
4.7.1 initApi
5 接口调试信息
5.1 template/index.html
5.2 page json
5.3 console log
5.3.1 requestAdaptor
5.3.2 responseAdaptor
6 最佳实践
6.1 某个操作完如何刷新页面
6.2 crud 设置默认参数
6.3 crud批量操作如何指定id
6.4 接口超时时间
6.5 sendOn使用说明和原理
Last updated