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

控制按钮显示 #58

Closed
dongrentianyu opened this issue Jul 3, 2023 · 2 comments
Closed

控制按钮显示 #58

dongrentianyu opened this issue Jul 3, 2023 · 2 comments

Comments

@dongrentianyu
Copy link
Contributor

比如在系统条目中,就不显示这个按钮。因为比如像控制台这种系统条目,一点击到这个按钮,就很有可能报错。

这个按钮应该只在非系统条目里展示。但现在我也想不到怎么解决。因为官方目前只有编辑栏的按钮可以控制范围,比如图片条目的按钮那几个就只有在编辑图片时才会显示出来。

类似的还有副标题,也不能做到控制显示。比如我做了一个副标题,但不需要在控制台这种系统条目里显示。

等会查查资料或者去论坛问问。

@linonetwo
Copy link
Contributor

就是用 reveal 或者 list 微件来控制,然后控制好样式让它不显示的时候不挤占空白空间

@linonetwo
Copy link
Contributor

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