Skip to content
New issue

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

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

Already on GitHub? # to your account

service组件schemaApi渲染alert组件,jdk 6.9.0前端不显示 #11147

Open
leaf188 opened this issue Nov 4, 2024 · 2 comments
Open

service组件schemaApi渲染alert组件,jdk 6.9.0前端不显示 #11147

leaf188 opened this issue Nov 4, 2024 · 2 comments
Labels
need confirm style Bug or PR related to component's style

Comments

@leaf188
Copy link

leaf188 commented Nov 4, 2024

描述问题:

采用service组件schemaApi渲染alert组件,在6.9.0下不显示,之前的6.8.0版本正常。

  1. amis 版本是什么?请先在最新 beta 版本测试问题是否存在
    jdk 6.9.0

  2. 粘贴有问题的完整 amis schema 代码:
    schemaApi 返回以下json数据

{
  "data": {
    "body": [
      {
        "inline": false,
        "tpl": "<p>抱歉!你没有权限。</p><ul style=\"list-style-type: circle;\"><li><a href=\"mailto:user@domain.com\">userName</a></li></ul>",
        "type": "tpl",
        "wrapperComponent": ""
      }
    ],
    "className": "mb-3",
    "level": "warning",
    "showCloseButton": true,
    "showIcon": true,
    "title": "提醒",
    "type": "alert"
  },
  "msg": "",
  "status": 0
}
@github-actions github-actions bot added the style Bug or PR related to component's style label Nov 4, 2024
Copy link

github-actions bot commented Nov 4, 2024

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

@belongwqz
Copy link
Contributor

确实,6.9有问题,这种形式写alert不会显示。

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
need confirm style Bug or PR related to component's style
Projects
None yet
Development

No branches or pull requests

2 participants