Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 自动换行, 下划线 #1135

Closed
youngwinds opened this issue Feb 23, 2024 · 0 comments · Fixed by #1213
Closed

[Bug] 自动换行, 下划线 #1135

youngwinds opened this issue Feb 23, 2024 · 0 comments · Fixed by #1213
Assignees
Labels
bp bp

Comments

@youngwinds
Copy link

youngwinds commented Feb 23, 2024

Image

{
    "columns": [
        {
            "field": "240223155414027",
            "title": "细分",
            "showSort": false,
            "style": {
                "textAlign": "left",
                "borderColor": [
                    "#E1E4E8",
                    "#E1E4E8",
                    "#E1E4E8",
                    "#E1E4E8"
                ],
                "borderLineWidth": [
                    1,
                    1,
                    1,
                    1
                ],
                "borderLineDash": [
                    null,
                    null,
                    null,
                    null
                ],
                "padding": [
                    8.6,
                    12,
                    8.6,
                    12
                ],
                "hover": {
                    "cellBgColor": "rgba(186, 215, 255, 0.2)",
                    "inlineRowBgColor": "rgba(186, 215, 255, 0.2)",
                    "inlineColumnBgColor": "rgba(186, 215, 255, 0.2)"
                },
                "fontFamily": "-apple-system,\"Helvetica Neue\",\"PingFang SC\",\"Microsoft YaHei\",\"Hiragino Sans GB\",Helvetica,Arial,sans-serif,\"apple color emoji\",\"segoe ui emoji\",\"segoe ui\",\"segoe ui symbol\"",
                "fontSize": 12,
                "fontStyle": "normal",
                "fontWeight": "normal",
                "fontVariant": "normal",
                "color": "#141414",
                "lineHeight": 18,
                "underline": false
            },
            "headerStyle": {
                "textAlign": "left",
                "underline": true,
                "underlineDash": [
                    2,
                    1
                ],
                "borderColor": [
                    "#E1E4E8",
                    "#E1E4E8",
                    "#E1E4E8",
                    "#E1E4E8"
                ],
                "borderLineWidth": [
                    1,
                    1,
                    1,
                    1
                ],
                "borderLineDash": [
                    null,
                    null,
                    null,
                    null
                ],
                "padding": [
                    8.6,
                    12,
                    8.6,
                    12
                ],
                "hover": {
                    "cellBgColor": "rgba(0, 100, 250, 0.16)",
                    "inlineRowBgColor": "rgba(255, 255, 255, 0)",
                    "inlineColumnBgColor": "rgba(255, 255, 255, 0)"
                },
                "frameStyle": {
                    "borderColor": [
                        null,
                        null,
                        "#E1E4E8",
                        null
                    ],
                    "borderLineWidth": 1
                },
                "fontFamily": "-apple-system,\"Helvetica Neue\",\"PingFang SC\",\"Microsoft YaHei\",\"Hiragino Sans GB\",Helvetica,Arial,sans-serif,\"apple color emoji\",\"segoe ui emoji\",\"segoe ui\",\"segoe ui symbol\"",
                "fontSize": 12,
                "fontVariant": "normal",
                "fontStyle": "normal",
                "fontWeight": "bold",
                "color": "#1B1F23",
                "bgColor": "#EEF1F5",
                "lineHeight": 18
            },
            "width": "auto",
            "dropDownMenu": [
                {
                    "text": "冻结列",
                    "menuKey": "frozen_col",
                    "icon": {
                        "svg": "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n    <path d=\"M3 2.5C2.17157 2.5 1.5 3.17157 1.5 4V12C1.5 12.8284 2.17157 13.5 3 13.5H13C13.8284 13.5 14.5 12.8284 14.5 12V4C14.5 3.17157 13.8284 2.5 13 2.5H3Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n    <path d=\"M7 3V13\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n    <path d=\"M2 6L7 3\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n    <path d=\"M2 9L7 6\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n    <path d=\"M2 12L7 9\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n    <path d=\"M5 13L7 12\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n  </svg>"
                    },
                    "selectedIcon": {
                        "svg": "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n    <path d=\"M3 2.5C2.17157 2.5 1.5 3.17157 1.5 4V12C1.5 12.8284 2.17157 13.5 3 13.5H13C13.8284 13.5 14.5 12.8284 14.5 12V4C14.5 3.17157 13.8284 2.5 13 2.5H3Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n    <path d=\"M7 3V13\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n    <path d=\"M2 6L7 3\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n    <path d=\"M2 9L7 6\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n    <path d=\"M2 12L7 9\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n    <path d=\"M5 13L7 12\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n  </svg>"
                    }
                },
                {
                    "text": "设置字段信息",
                    "menuKey": "dimmet_info"
                },
                {
                    "text": "编辑视觉样式",
                    "menuKey": "visual_style"
                }
            ],
            "columnType": "link",
            "linkDetect": true,
            "linkJump": false
        },
        {
            "firstRow": 8025072.194172859,
            "field": "240223163915019",
            "title": "销售额",
            "showSort": false,
            "style": {
                "textAlign": "right",
                "borderColor": [
                    "#E1E4E8",
                    "#E1E4E8",
                    "#E1E4E8",
                    "#E1E4E8"
                ],
                "borderLineWidth": [
                    1,
                    1,
                    1,
                    1
                ],
                "borderLineDash": [
                    null,
                    null,
                    null,
                    null
                ],
                "padding": [
                    8.6,
                    12,
                    8.6,
                    12
                ],
                "hover": {
                    "cellBgColor": "rgba(186, 215, 255, 0.2)",
                    "inlineRowBgColor": "rgba(186, 215, 255, 0.2)",
                    "inlineColumnBgColor": "rgba(186, 215, 255, 0.2)"
                },
                "fontFamily": "-apple-system,\"Helvetica Neue\",\"PingFang SC\",\"Microsoft YaHei\",\"Hiragino Sans GB\",Helvetica,Arial,sans-serif,\"apple color emoji\",\"segoe ui emoji\",\"segoe ui\",\"segoe ui symbol\"",
                "fontSize": 12,
                "fontStyle": "normal",
                "fontWeight": "normal",
                "fontVariant": "normal",
                "color": "#141414",
                "lineHeight": 18,
                "underline": false
            },
            "headerStyle": {
                "textAlign": "right",
                "borderColor": [
                    "#E1E4E8",
                    "#E1E4E8",
                    "#E1E4E8",
                    "#E1E4E8"
                ],
                "borderLineWidth": [
                    1,
                    1,
                    1,
                    1
                ],
                "borderLineDash": [
                    null,
                    null,
                    null,
                    null
                ],
                "padding": [
                    8.6,
                    12,
                    8.6,
                    12
                ],
                "hover": {
                    "cellBgColor": "rgba(0, 100, 250, 0.16)",
                    "inlineRowBgColor": "rgba(255, 255, 255, 0)",
                    "inlineColumnBgColor": "rgba(255, 255, 255, 0)"
                },
                "frameStyle": {
                    "borderColor": [
                        null,
                        null,
                        "#E1E4E8",
                        null
                    ],
                    "borderLineWidth": 1
                },
                "fontFamily": "-apple-system,\"Helvetica Neue\",\"PingFang SC\",\"Microsoft YaHei\",\"Hiragino Sans GB\",Helvetica,Arial,sans-serif,\"apple color emoji\",\"segoe ui emoji\",\"segoe ui\",\"segoe ui symbol\"",
                "fontSize": 12,
                "fontVariant": "normal",
                "fontStyle": "normal",
                "fontWeight": "bold",
                "color": "#1B1F23",
                "bgColor": "#EEF1F5",
                "lineHeight": 18,
                "underline": false
            },
            "width": "auto",
            "dropDownMenu": [
                {
                    "text": "冻结列",
                    "menuKey": "frozen_col",
                    "icon": {
                        "svg": "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n    <path d=\"M3 2.5C2.17157 2.5 1.5 3.17157 1.5 4V12C1.5 12.8284 2.17157 13.5 3 13.5H13C13.8284 13.5 14.5 12.8284 14.5 12V4C14.5 3.17157 13.8284 2.5 13 2.5H3Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n    <path d=\"M7 3V13\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n    <path d=\"M2 6L7 3\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n    <path d=\"M2 9L7 6\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n    <path d=\"M2 12L7 9\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n    <path d=\"M5 13L7 12\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n  </svg>"
                    },
                    "selectedIcon": {
                        "svg": "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n    <path d=\"M3 2.5C2.17157 2.5 1.5 3.17157 1.5 4V12C1.5 12.8284 2.17157 13.5 3 13.5H13C13.8284 13.5 14.5 12.8284 14.5 12V4C14.5 3.17157 13.8284 2.5 13 2.5H3Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n    <path d=\"M7 3V13\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n    <path d=\"M2 6L7 3\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n    <path d=\"M2 9L7 6\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n    <path d=\"M2 12L7 9\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n    <path d=\"M5 13L7 12\" stroke=\"currentColor\" stroke-width=\"0.7\" stroke-linecap=\"square\"/>\n  </svg>"
                    }
                },
                {
                    "text": "设置字段信息",
                    "menuKey": "dimmet_info"
                },
                {
                    "text": "设置数据格式",
                    "menuKey": "num_format"
                },
                {
                    "text": "编辑视觉样式",
                    "menuKey": "visual_style"
                }
            ]
        }
    ],
    "records": [
        {
            "240223155414027": "消费者",
            "240223163915019": "8025072.194172859"
        },
        {
            "240223155414027": " 公司 ------- ------- ------- ------- -------------- ------- ------- ------- -------------- ------- ------- - ------- ------- ------- -------------- ------- ------- ------- -------------- ------- ------- ------- -------------- ------- ------- ------- -------",
            "240223163915019": "5152793.296570778"
        },
        {
            "240223155414027": "小型企业",
            "240223163915019": "2891088.6421899796"
        }
    ],
    "transpose": false,
    "widthMode": "standard",
    "columnResizeMode": "all",
    "heightMode": "autoHeight",
    "autoWrapText": true,
    "maxCharactersNumber": 256,
    "keyboardOptions": {
        "copySelected": false
    },
    "menu": {
        "renderMode": "html",
        "dropDownMenuHighlight": []
    },
    "frozenColCount": 0,
    "theme": {
        "underlayBackgroundColor": "rgba(255,255,255,0)",
        "frameStyle": {
            "innerBorder": true,
            "borderColor": "#E1E4E8",
            "borderLineWidth": 1
        },
        "headerStyle": {
            "borderColor": [
                "#E1E4E8",
                "#E1E4E8",
                "#E1E4E8",
                "#E1E4E8"
            ],
            "borderLineWidth": [
                1,
                1,
                1,
                1
            ],
            "borderLineDash": [
                null,
                null,
                null,
                null
            ],
            "padding": [
                8.6,
                12,
                8.6,
                12
            ],
            "hover": {
                "cellBgColor": "rgba(0, 100, 250, 0.16)",
                "inlineRowBgColor": "rgba(255, 255, 255, 0)",
                "inlineColumnBgColor": "rgba(255, 255, 255, 0)"
            },
            "frameStyle": {
                "borderColor": [
                    null,
                    null,
                    "#E1E4E8",
                    null
                ],
                "borderLineWidth": 1
            },
            "fontFamily": "-apple-system,\"Helvetica Neue\",\"PingFang SC\",\"Microsoft YaHei\",\"Hiragino Sans GB\",Helvetica,Arial,sans-serif,\"apple color emoji\",\"segoe ui emoji\",\"segoe ui\",\"segoe ui symbol\"",
            "fontSize": 12,
            "fontVariant": "normal",
            "fontStyle": "normal",
            "fontWeight": "bold",
            "color": "#1B1F23",
            "bgColor": "#EEF1F5",
            "lineHeight": 18,
            "underline": false
        },
        "bodyStyle": {
            "borderColor": [
                "#E1E4E8",
                "#E1E4E8",
                "#E1E4E8",
                "#E1E4E8"
            ],
            "borderLineWidth": [
                1,
                1,
                1,
                1
            ],
            "borderLineDash": [
                null,
                null,
                null,
                null
            ],
            "padding": [
                8.6,
                12,
                8.6,
                12
            ],
            "hover": {
                "cellBgColor": "rgba(186, 215, 255, 0.2)",
                "inlineRowBgColor": "rgba(186, 215, 255, 0.2)",
                "inlineColumnBgColor": "rgba(186, 215, 255, 0.2)"
            },
            "fontFamily": "-apple-system,\"Helvetica Neue\",\"PingFang SC\",\"Microsoft YaHei\",\"Hiragino Sans GB\",Helvetica,Arial,sans-serif,\"apple color emoji\",\"segoe ui emoji\",\"segoe ui\",\"segoe ui symbol\"",
            "fontSize": 12,
            "fontStyle": "normal",
            "fontWeight": "normal",
            "fontVariant": "normal",
            "color": "#141414",
            "lineHeight": 18,
            "underline": false
        },
        "scrollStyle": {
            "visible": "focus",
            "width": 7,
            "hoverOn": true
        },
        "frozenColumnLine": {
            "shadow": {
                "width": 3,
                "startColor": "rgba(225, 228, 232, 0.6)",
                "endColor": "rgba(225, 228, 232, 0.6)"
            }
        }
    },
    "hash": "a9fb06b89f75660ec8a9db295ee36624"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bp bp
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants