mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:09:08 +08:00
65ac422ed6
* 补充容错 * fix: form 中 name 关联顶层数据初始化失效 * 更新 examples * 文档调整 * 删除多余的文档, 调整 schema * schema 调整 * schema 调整 * control 类型容器 control 改成 body * 修复一个选项加载的bug * form 注册直接用 type
35 lines
701 B
TypeScript
35 lines
701 B
TypeScript
export default {
|
|
title: '列展示详情',
|
|
body: {
|
|
type: 'crud',
|
|
title: '',
|
|
api: '/api/sample/list',
|
|
columnsTogglable: false,
|
|
columns: [
|
|
{
|
|
name: 'id',
|
|
label: 'ID',
|
|
width: 20,
|
|
type: 'text'
|
|
},
|
|
{
|
|
name: 'engine',
|
|
label: 'Rendering engine',
|
|
type: 'text',
|
|
popOver: {
|
|
trigger: 'hover',
|
|
showIcon: false,
|
|
body: 'Popover 内容:${platform}',
|
|
popOverClassName: 'min-w-0',
|
|
position: 'left-center-right-center right-center-left-center'
|
|
}
|
|
},
|
|
{
|
|
name: 'browser',
|
|
label: 'Browser',
|
|
type: 'text'
|
|
}
|
|
]
|
|
}
|
|
};
|