vendor: amis 6.13.0 base (fork root)

This commit is contained in:
2026-06-16 22:14:57 +08:00
commit 8c8e4247a9
3840 changed files with 2467374 additions and 0 deletions

View File

@@ -0,0 +1,91 @@
export default {
"title": "解析Query参数",
"body": [
{
"type": "alert",
"body": {
"type": "html",
"html": "<code>parsePrimitiveQuery</code>默认开启,开启后会对url中的Query进行转换,将原始类型的字符串格式的转化为同位类型"
},
"level": "info",
"showCloseButton": true,
"showIcon": true,
"className": "mb-2"
},
{
"type": "crud",
"name": "crud",
"syncLocation": true,
"api": "/api/mock2/crud/table5",
"parsePrimitiveQuery": {
"enable": true,
"types": ["boolean", "number"]
},
"filter": {
"debug": true,
"title": "条件搜索",
"body": [
{
"type": "group",
"body": [
{
"type": "switch",
"name": "status",
"label": "已核验",
"size": "sm",
"value": false
},
{
"type": "select",
"name": "version",
"label": "版本",
"options": [
{"label": "5.5", value: 5.5},
{"label": "6", value: 6},
{"label": "7", value: 7}
]
}
]
}
],
"actions": [
{
"type": "reset",
"label": "重置"
},
{
"type": "submit",
"level": "primary",
"label": "查询"
}
]
},
"columns": [
{
"name": "id",
"label": "ID"
},
{
"name": "browser",
"label": "Browser"
},
{
"name": "status",
"label": "已核验",
"type": "tpl",
"tpl": "${status === true ? '是' : '否'}",
"filterable": {
"options": [
{"label": "是", "value": true},
{"label": "否", "value": false}
]
}
},
{
"name": "version",
"label": "版本"
}
]
}
]
}