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

使用Notify组件 内容过长会溢出通知框 #575

Closed
dibenny opened this issue Mar 1, 2022 · 2 comments
Closed

使用Notify组件 内容过长会溢出通知框 #575

dibenny opened this issue Mar 1, 2022 · 2 comments

Comments

@dibenny
Copy link

dibenny commented Mar 1, 2022

目前问题如下
image

普通的文字过长是不会溢出,但是当内容中包含过多的符号 就会出现,输入如下内容就会出现

"发生异常:JSON parse error: Cannot deserialize value of type `java.math.BigDecimal` from String \"112sssff\": not a valid representation; nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `java.math.BigDecimal` from String \"112sssff\": not a valid representation\n at [Source: (PushbackInputStream); line: 1, column: 251] (through reference chain: com.nihao.distribution.abutment.model.bo.ProfitRecordBO[\"amount\"])"

代码如下

Notify.error({ title: "发生异常:JSON parse error: Cannot deserialize value of type `java.math.BigDecimal` from String \"112sssff\": not a valid representation; nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `java.math.BigDecimal` from String \"112sssff\": not a valid representation\n at [Source: (PushbackInputStream); line: 1, column: 251] (through reference chain: com.nihao.distribution.abutment.model.bo.ProfitRecordBO[\"amount\"])"
 })

期望效果:内容正常展示

@nullptr-z
Copy link
Collaborator

@dibenny 已在v4.13.3版本中修复

@dibenny
Copy link
Author

dibenny commented Mar 2, 2022

已回测 内容展示正常

@dibenny dibenny closed this as completed Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants