mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
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: 30,
|
|
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'
|
|
}
|
|
]
|
|
}
|
|
};
|