mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-16 01:40:53 +08:00
65ac422ed6
* 补充容错 * fix: form 中 name 关联顶层数据初始化失效 * 更新 examples * 文档调整 * 删除多余的文档, 调整 schema * schema 调整 * schema 调整 * control 类型容器 control 改成 body * 修复一个选项加载的bug * form 注册直接用 type
37 lines
704 B
JavaScript
37 lines
704 B
JavaScript
export default {
|
|
title: '异步任务',
|
|
body: [
|
|
'<p class="text-danger"></p>',
|
|
{
|
|
type: 'tasks',
|
|
name: 'tasks',
|
|
items: [
|
|
{
|
|
label: 'hive 任务',
|
|
key: 'hive',
|
|
status: 4,
|
|
remark:
|
|
'查看详情<a target="_blank" href="http://www.baidu.com">日志</a>。'
|
|
},
|
|
{
|
|
label: '小流量',
|
|
key: 'partial',
|
|
status: 4
|
|
},
|
|
{
|
|
label: '全量',
|
|
key: 'full',
|
|
status: 4
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
type: 'tasks',
|
|
name: 'tasks',
|
|
className: 'b-a bg-white table-responsive m-t',
|
|
checkApi: '/api/mock2/task'
|
|
}
|
|
]
|
|
};
|