amis curd组件的表头在缩放下字体重叠

col17t5w  于 3个月前  发布在  其他
关注(0)|答案(2)|浏览(58)
描述问题:

当使用左右布局后,curd组件的表头在缩放下字体重叠

截图或视频:

如何复现(请务必完整填写下面内容):
  1. 你是如何使用 amis 的?
    sdknpm
  2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在
    6.6.7
  3. 粘贴有问题的完整 amis schema 代码:
    代码中包含测试数据,请下载地址: https://uneed.ity.com.cn/open-file/default_db/amis%E8%A1%A8%E5%A4%B4%E9%87%8D%E5%8F%A0.txt

点击下载

  1. 操作步骤
    在编辑器中调整网页缩放后刷新页面
a0zr77ik

a0zr77ik2#

{
    "type": "page",
    "asideResizor": false,
    "asideSticky": true,
    "body": [
        {
            "columns": [
                {
                    "body": [
                        {
                            "alwaysShowPagination": true,
                            "autoFillHeight": false,
                            "autoGenerateFilter": {
                                "columnsNum": 4,
                                "showBtnToolbar": false
                            },
                            "autoJumpToTopOnPagerChange": false,
                            "bulkActions": [],
                            "columns": [
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "使用数据库验证",
                                    "maxLine": 1,
                                    "name": "USE_DB_VALIDATION",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${USE_DB_VALIDATION_label}",
                                    "type": "tpl",
                                    "id": "u:aae113e2915e"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "组织名称",
                                    "maxLength": 50,
                                    "maxLine": 1,
                                    "minLength": 0,
                                    "name": "HR_ORG_NAME",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${HR_ORG_NAME_label}",
                                    "type": "tpl",
                                    "id": "u:9aa7d8e5bd5d"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "公司名称",
                                    "maxLength": 50,
                                    "maxLine": 1,
                                    "minLength": 0,
                                    "name": "HR_COMPY_NAME",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${HR_COMPY_NAME_label}",
                                    "type": "tpl",
                                    "id": "u:e7d2acc4ca51"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "displayFormat": "YYYY-MM-DD HH:mm:ss",
                                    "format": "YYYY-MM-DD HH:mm:ss",
                                    "label": "时间戳",
                                    "maxLine": 1,
                                    "name": "TS",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${TS_label}",
                                    "type": "static-datetime",
                                    "valueFormat": "YYYY-MM-DD HH:mm:ss",
                                    "width": 150,
                                    "id": "u:b4ef5db901d1"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "外部验证用户名",
                                    "maxLength": 50,
                                    "maxLine": 1,
                                    "minLength": 0,
                                    "name": "EXT_VALIDATION_USERNAME",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${EXT_VALIDATION_USERNAME_label}",
                                    "type": "tpl",
                                    "id": "u:60fb18490a96"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "displayFormat": "YYYY-MM-DD HH:mm:ss",
                                    "format": "YYYY-MM-DD HH:mm:ss",
                                    "label": "同步时间",
                                    "maxLine": 1,
                                    "name": "SYNC_DTTM",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${SYNC_DTTM_label}",
                                    "type": "static-datetime",
                                    "valueFormat": "YYYY-MM-DD HH:mm:ss",
                                    "width": 150,
                                    "id": "u:0d68a98241a6"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "邮箱",
                                    "maxLength": 50,
                                    "maxLine": 1,
                                    "minLength": 0,
                                    "name": "EMAIL",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${EMAIL_label}",
                                    "type": "tpl",
                                    "id": "u:000a00ebef02"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "来源记录ID",
                                    "maxLength": 50,
                                    "maxLine": 1,
                                    "minLength": 0,
                                    "name": "SRC_RECORD_ID",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${SRC_RECORD_ID_label}",
                                    "type": "tpl",
                                    "id": "u:994d1e6538a9"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "来源",
                                    "maxLength": 50,
                                    "maxLine": 1,
                                    "minLength": 0,
                                    "name": "SRC",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${SRC_label}",
                                    "type": "tpl",
                                    "id": "u:6fb8ddb3338f"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "使用外部验证",
                                    "maxLine": 1,
                                    "name": "USE_EXT_VALIDATION",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${USE_EXT_VALIDATION_label}",
                                    "type": "tpl",
                                    "id": "u:216a4e4b59a5"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "是否预设",
                                    "maxLine": 1,
                                    "name": "IS_PRESET",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${IS_PRESET_label}",
                                    "type": "tpl",
                                    "id": "u:ea9fe8c6cdc9"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "ID",
                                    "maxLine": 1,
                                    "name": "ID",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${ID_label}",
                                    "type": "tpl",
                                    "id": "u:b37c7017e5a6"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "items": {
                                        "maxLine": 1,
                                        "text": "tpl",
                                        "tpl": "${NAME}<br />",
                                        "type": "tpl",
                                        "id": "u:7bef8a40ca87"
                                    },
                                    "label": "最后修改用户",
                                    "name": "LAST_MODI_USER_ID_label",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "type": "each",
                                    "id": "u:1a3aff314fca"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "displayFormat": "YYYY-MM-DD HH:mm:ss",
                                    "format": "YYYY-MM-DD HH:mm:ss",
                                    "label": "最后修改日期时间",
                                    "maxLine": 1,
                                    "name": "LAST_MODI_DT",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${LAST_MODI_DT_label}",
                                    "type": "static-datetime",
                                    "valueFormat": "YYYY-MM-DD HH:mm:ss",
                                    "width": 150,
                                    "id": "u:d746bfd29a0e"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "items": {
                                        "maxLine": 1,
                                        "text": "tpl",
                                        "tpl": "${NAME}<br />",
                                        "type": "tpl",
                                        "id": "u:420263c4fbfb"
                                    },
                                    "label": "创建用户",
                                    "name": "CRT_USER_ID_label",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "type": "each",
                                    "id": "u:6af883102c01"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "displayFormat": "YYYY-MM-DD HH:mm:ss",
                                    "format": "YYYY-MM-DD HH:mm:ss",
                                    "label": "创建日期时间",
                                    "maxLine": 1,
                                    "name": "CRT_DT",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${CRT_DT_label}",
                                    "type": "static-datetime",
                                    "valueFormat": "YYYY-MM-DD HH:mm:ss",
                                    "width": 150,
                                    "id": "u:f6389ed4d9a7"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "items": {
                                        "maxLine": 1,
                                        "text": "tpl",
                                        "tpl": "${NAME}<br />",
                                        "type": "tpl",
                                        "id": "u:50b825a81862"
                                    },
                                    "label": "记录状态",
                                    "name": "STATUS_label",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "type": "each",
                                    "id": "u:440c1b3488a6"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "items": {
                                        "maxLine": 1,
                                        "text": "tpl",
                                        "tpl": "${NAME}<br />",
                                        "type": "tpl",
                                        "id": "u:da21fcc309ce"
                                    },
                                    "label": "锁定流程实例",
                                    "name": "LK_WF_INST_ID_label",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "type": "each",
                                    "id": "u:d4995fc91bb2"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "版本",
                                    "maxLine": 1,
                                    "name": "VER",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${VER_label}",
                                    "type": "tpl",
                                    "id": "u:86d5ff4556f0"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "备注",
                                    "maxLength": 1000,
                                    "maxLine": 1,
                                    "minLength": 0,
                                    "name": "REMARK",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${REMARK_label}",
                                    "type": "tpl",
                                    "id": "u:a579c4a45a77"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "名称",
                                    "maxLength": 50,
                                    "maxLine": 1,
                                    "minLength": 0,
                                    "name": "NAME",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${NAME_label}",
                                    "type": "tpl",
                                    "id": "u:e5c65f220180"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "代码",
                                    "maxLength": 50,
                                    "maxLine": 1,
                                    "minLength": 0,
                                    "name": "CODE",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${CODE_label}",
                                    "type": "tpl",
                                    "id": "u:edfb447f7bf7"
                                }
                            ],
                            "columnsTogglable": true,
                            "filterTogglable": true,
                            "footerToolbar": [
                                {
                                    "type": "bulk-actions"
                                },
                                {
                                    "type": "pagination",
                                    "layout": "total,perPage,pager,go",
                                    "mode": "normal",
                                    "activePage": 2,
                                    "lastPage": 99999,
                                    "total": "${totalRow}",
                                    "perPage": 10,
                                    "maxButtons": 5,
                                    "showPerPage": true,
                                    "perPageAvailable": [
                                        10,
                                        20,
                                        50,
                                        100
                                    ],
                                    "showPageInput": true,
                                    "disabled": false
                                }
                            ],
                            "headerToolbar": [
                                {
                                    "type": "columns-toggler",
                                    "align": "right"
                                }
                            ],
                            "hideQuickSaveBtn": true,
                            "id": "u:bfabac571050",
                            "initFetch": true,
                            "itemActions": [],
                            "messages": {},
                            "mode": "table",
                            "name": "crud",
                            "pageField": "pageNum",
                            "perPageAvailable": [
                                10
                            ],
                            "perPageField": "pageSize",
                            "selectable": true,
                            "silentPolling": true,
                            "syncLocation": false,
                            "tableClassName": "amis-container",
                            "tableLayout": "fixed",
                            "type": "crud",
                            "data": []
                        }
                    ],
                    "id": "u:c0972beb8b79",
                    "md": 6
                },
                {
                    "body": [
                        {
                            "alwaysShowPagination": true,
                            "autoFillHeight": false,
                            "autoGenerateFilter": {
                                "columnsNum": 4,
                                "showBtnToolbar": false
                            },
                            "autoJumpToTopOnPagerChange": false,
                            "bulkActions": [],
                            "columns": [
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "使用数据库验证",
                                    "maxLine": 1,
                                    "name": "USE_DB_VALIDATION",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${USE_DB_VALIDATION_label}",
                                    "type": "tpl",
                                    "id": "u:6d7075f111e8"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "组织名称",
                                    "maxLength": 50,
                                    "maxLine": 1,
                                    "minLength": 0,
                                    "name": "HR_ORG_NAME",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${HR_ORG_NAME_label}",
                                    "type": "tpl",
                                    "id": "u:bf324cbf87d9"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "公司名称",
                                    "maxLength": 50,
                                    "maxLine": 1,
                                    "minLength": 0,
                                    "name": "HR_COMPY_NAME",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${HR_COMPY_NAME_label}",
                                    "type": "tpl",
                                    "id": "u:3012ae8d773f"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "displayFormat": "YYYY-MM-DD HH:mm:ss",
                                    "format": "YYYY-MM-DD HH:mm:ss",
                                    "label": "时间戳",
                                    "maxLine": 1,
                                    "name": "TS",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${TS_label}",
                                    "type": "static-datetime",
                                    "valueFormat": "YYYY-MM-DD HH:mm:ss",
                                    "width": 150,
                                    "id": "u:e40bb2329fea"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "外部验证用户名",
                                    "maxLength": 50,
                                    "maxLine": 1,
                                    "minLength": 0,
                                    "name": "EXT_VALIDATION_USERNAME",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${EXT_VALIDATION_USERNAME_label}",
                                    "type": "tpl",
                                    "id": "u:4d378529dae4"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "displayFormat": "YYYY-MM-DD HH:mm:ss",
                                    "format": "YYYY-MM-DD HH:mm:ss",
                                    "label": "同步时间",
                                    "maxLine": 1,
                                    "name": "SYNC_DTTM",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${SYNC_DTTM_label}",
                                    "type": "static-datetime",
                                    "valueFormat": "YYYY-MM-DD HH:mm:ss",
                                    "width": 150,
                                    "id": "u:e483e8ef7d10"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "邮箱",
                                    "maxLength": 50,
                                    "maxLine": 1,
                                    "minLength": 0,
                                    "name": "EMAIL",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${EMAIL_label}",
                                    "type": "tpl",
                                    "id": "u:5ee0299e1902"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "来源记录ID",
                                    "maxLength": 50,
                                    "maxLine": 1,
                                    "minLength": 0,
                                    "name": "SRC_RECORD_ID",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${SRC_RECORD_ID_label}",
                                    "type": "tpl",
                                    "id": "u:bcef03ba8dee"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "来源",
                                    "maxLength": 50,
                                    "maxLine": 1,
                                    "minLength": 0,
                                    "name": "SRC",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${SRC_label}",
                                    "type": "tpl",
                                    "id": "u:8e3c231d120b"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "使用外部验证",
                                    "maxLine": 1,
                                    "name": "USE_EXT_VALIDATION",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${USE_EXT_VALIDATION_label}",
                                    "type": "tpl",
                                    "id": "u:71ab97c4c14b"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "是否预设",
                                    "maxLine": 1,
                                    "name": "IS_PRESET",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${IS_PRESET_label}",
                                    "type": "tpl",
                                    "id": "u:24136dca8456"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "ID",
                                    "maxLine": 1,
                                    "name": "ID",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${ID_label}",
                                    "type": "tpl",
                                    "id": "u:5483c41d24b1"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "items": {
                                        "maxLine": 1,
                                        "text": "tpl",
                                        "tpl": "${NAME}<br />",
                                        "type": "tpl",
                                        "id": "u:99d4a5df4594"
                                    },
                                    "label": "最后修改用户",
                                    "name": "LAST_MODI_USER_ID_label",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "type": "each",
                                    "id": "u:574b355247ac"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "displayFormat": "YYYY-MM-DD HH:mm:ss",
                                    "format": "YYYY-MM-DD HH:mm:ss",
                                    "label": "最后修改日期时间",
                                    "maxLine": 1,
                                    "name": "LAST_MODI_DT",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${LAST_MODI_DT_label}",
                                    "type": "static-datetime",
                                    "valueFormat": "YYYY-MM-DD HH:mm:ss",
                                    "width": 150,
                                    "id": "u:4db928057d77"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "items": {
                                        "maxLine": 1,
                                        "text": "tpl",
                                        "tpl": "${NAME}<br />",
                                        "type": "tpl",
                                        "id": "u:d9848ba3a753"
                                    },
                                    "label": "创建用户",
                                    "name": "CRT_USER_ID_label",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "type": "each",
                                    "id": "u:107391107465"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "displayFormat": "YYYY-MM-DD HH:mm:ss",
                                    "format": "YYYY-MM-DD HH:mm:ss",
                                    "label": "创建日期时间",
                                    "maxLine": 1,
                                    "name": "CRT_DT",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${CRT_DT_label}",
                                    "type": "static-datetime",
                                    "valueFormat": "YYYY-MM-DD HH:mm:ss",
                                    "width": 150,
                                    "id": "u:3da57104340e"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "items": {
                                        "maxLine": 1,
                                        "text": "tpl",
                                        "tpl": "${NAME}<br />",
                                        "type": "tpl",
                                        "id": "u:8b10d74eade6"
                                    },
                                    "label": "记录状态",
                                    "name": "STATUS_label",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "type": "each",
                                    "id": "u:44baade025ad"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "items": {
                                        "maxLine": 1,
                                        "text": "tpl",
                                        "tpl": "${NAME}<br />",
                                        "type": "tpl",
                                        "id": "u:356a8968a779"
                                    },
                                    "label": "锁定流程实例",
                                    "name": "LK_WF_INST_ID_label",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "type": "each",
                                    "id": "u:6f989feda547"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "版本",
                                    "maxLine": 1,
                                    "name": "VER",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${VER_label}",
                                    "type": "tpl",
                                    "id": "u:c064759fcd19"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "备注",
                                    "maxLength": 1000,
                                    "maxLine": 1,
                                    "minLength": 0,
                                    "name": "REMARK",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${REMARK_label}",
                                    "type": "tpl",
                                    "id": "u:a40af0f15ae9"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "名称",
                                    "maxLength": 50,
                                    "maxLine": 1,
                                    "minLength": 0,
                                    "name": "NAME",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${NAME_label}",
                                    "type": "tpl",
                                    "id": "u:bfdf30485179"
                                },
                                {
                                    "align": "left",
                                    "className": "no-border",
                                    "label": "代码",
                                    "maxLength": 50,
                                    "maxLine": 1,
                                    "minLength": 0,
                                    "name": "CODE",
                                    "placeholder": "-",
                                    "sortable": true,
                                    "toggled": true,
                                    "tpl": "${CODE_label}",
                                    "type": "tpl",
                                    "id": "u:95720751d819"
                                }
                            ],
                            "columnsTogglable": true,
                            "filterTogglable": true,
                            "footerToolbar": [
                                {
                                    "type": "bulk-actions"
                                },
                                {
                                    "type": "pagination",
                                    "layout": "total,perPage,pager,go",
                                    "mode": "normal",
                                    "activePage": 2,
                                    "lastPage": 99999,
                                    "total": "${totalRow}",
                                    "perPage": 10,
                                    "maxButtons": 5,
                                    "showPerPage": true,
                                    "perPageAvailable": [
                                        10,
                                        20,
                                        50,
                                        100
                                    ],
                                    "showPageInput": true,
                                    "disabled": false
                                }
                            ],
                            "headerToolbar": [
                                {
                                    "type": "columns-toggler",
                                    "align": "right"
                                }
                            ],
                            "hideQuickSaveBtn": true,
                            "id": "u:25cf6d711740",
                            "initFetch": true,
                            "itemActions": [],
                            "messages": {},
                            "mode": "table",
                            "name": "crud",
                            "pageField": "pageNum",
                            "perPageAvailable": [
                                10
                            ],
                            "perPageField": "pageSize",
                            "selectable": true,
                            "silentPolling": true,
                            "syncLocation": false,
                            "tableClassName": "amis-container",
                            "tableLayout": "fixed",
                            "type": "crud",
                            "data": []
                        }
                    ],
                    "id": "u:564d37749468",
                    "md": 6
                }
            ],
            "id": "u:4494dfd81541",
            "type": "grid"
        }
    ],
    "className": "amis-container",
    "comIds": [
        "u:4494dfd81541"
    ],
    "id": "u:365f434b878e",
    "initApi": {
        "adaptor": "return {\\n    ...payload,\\n    status: payload.code === 200 ? 0 : payload.code\\n}",
        "dataType": "json",
        "headers": {
            "Content-Type": "application/json"
        },
        "method": "post",
        "silent": true,
        "url": "/api/user/isLogin"
    },
    "initFetch": true,
    "name": "main_page",
    "pullRefresh": {
        "disabled": true
    },
    "showErrorMsg": false,
    "silentPolling": false
}

相关问题