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

如何动态修改工具栏? #497

Open
wells974 opened this issue Jan 11, 2025 · 3 comments
Open

如何动态修改工具栏? #497

wells974 opened this issue Jan 11, 2025 · 3 comments

Comments

@wells974
Copy link

image

由于我的界面宽度限制,工具栏很丑,
所以想加个自定义菜单按钮能够折叠工具栏,
但是我设置了excludeKeys和insertKeys后并没有生效,
好像是Toolbar组件没有重新渲染,

有什么api能够重新加载配置

或者

有什么其他实现思路吗

@wells974
Copy link
Author

这个问题有解吗

@cycleccc
Copy link
Owner

可以试试操作 dom,隐藏多余的按钮。

@wells974
Copy link
Author

@cycleccc 感谢大佬 可以了,要是能增加操作工具栏dom的api就更好啦

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