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

可以加一个 美化值 的功能吗? #1289

Open
sxin0 opened this issue Nov 28, 2024 · 1 comment
Open

可以加一个 美化值 的功能吗? #1289

sxin0 opened this issue Nov 28, 2024 · 1 comment

Comments

@sxin0
Copy link

sxin0 commented Nov 28, 2024

OS

Windows

VERSION

1.7.0

ISSUE DESCRIPTION

在 LIST 类型下,每个 KEY 可以单独配置美化规则,然后在列表展示 Value 的时候,如果启用了美化功能,就调用美化规则中注册的方法,此方法可以预留API,让用户自己来编写。列表渲染的时候调用此方法,用户返回美化后的内容,用于在列表上展示。

例如:下面的内容我期望value展示结果是:

image

image

@qishibo
Copy link
Owner

qishibo commented Nov 28, 2024

你说的应该是格式化和自定义视图的功能,目前在点击编辑的时候会格式化显示,也能自定义脚本,但出于性能原因列表模式下没美化

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