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

card 组件报错 #11427

Open
LC6LW opened this issue Dec 24, 2024 · 2 comments
Open

card 组件报错 #11427

LC6LW opened this issue Dec 24, 2024 · 2 comments
Labels
doc optimizing document need confirm style Bug or PR related to component's style

Comments

@LC6LW
Copy link

LC6LW commented Dec 24, 2024

描述问题:

card 关闭后报错
请用一段清晰简洁的文字描述问题是什么...
使用了subTitle后点击关闭会报错

截图或视频:

image

可以的话,尽可能提供截图或视频来补充描述你的问题...

如何复现(请务必完整填写下面内容):

  1. 你是如何使用 amis 的?
    sdknpm其他...

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

  3. 粘贴有问题的完整 amis schema 代码:

 "header": {
                                                    "title": "$device_name",
                                                    "subTitle": "SN码:$sn3_code",
                                                    "descriptionClassName": "text-secondary",
                                                    "subTitleClassName": "text-secondary",
                                                    "description": "序列号:${serial_number}",
                                                    "avatar": "data:image/svg+xml,%3C%3Fxml version='1.0' standalone='no'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg t='1631083237695' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='2420' xmlns:xlink='http://www.w3.org/1999/xlink' width='1024' height='1024'%3E%3Cdefs%3E%3Cstyle type='text/css'%3E%3C/style%3E%3C/defs%3E%3Cpath d='M959.872 128c0.032 0.032 0.096 0.064 0.128 0.128v767.776c-0.032 0.032-0.064 0.096-0.128 0.128H64.096c-0.032-0.032-0.096-0.064-0.128-0.128V128.128c0.032-0.032 0.064-0.096 0.128-0.128h895.776zM960 64H64C28.8 64 0 92.8 0 128v768c0 35.2 28.8 64 64 64h896c35.2 0 64-28.8 64-64V128c0-35.2-28.8-64-64-64z' p-id='2421' fill='%23bfbfbf'%3E%3C/path%3E%3Cpath d='M832 288c0 53.024-42.976 96-96 96s-96-42.976-96-96 42.976-96 96-96 96 42.976 96 96zM896 832H128V704l224-384 256 320h64l224-192z' p-id='2422' fill='%23bfbfbf'%3E%3C/path%3E%3C/svg%3E",
                                                    "avatarClassName": "pull-left thumb-md m-r",
                                                },
  1. 操作步骤
    请简单描述一下复现的操作步骤...
Copy link

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

Please review the labels and make any necessary changes.

@github-actions github-actions bot added doc optimizing document style Bug or PR related to component's style labels Dec 24, 2024
@lhtuling
Copy link

存在很久的问题了 编辑器偶发性出现类似的,我也碰到过很多,刷新编辑器凑合先用吧。。。

Amis低代码前端框架交流群【QQ1群】:717791727
Amis低代码前端框架交流群【QQ2群】:721182449

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

No branches or pull requests

2 participants