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

你好,我在官方文档自定义菜单中 #61

Open
leq849513109 opened this issue Mar 22, 2023 · 5 comments
Open

你好,我在官方文档自定义菜单中 #61

leq849513109 opened this issue Mar 22, 2023 · 5 comments

Comments

@leq849513109
Copy link

如题,我在自己根据官方文档完成了一个自定义菜单并且添加了一个子菜单,我想要通过点击子菜单调用一个自己写的方法,但我在官方文档发现都是调用内置的命令command,没有案例提示我怎么去调用自己的方法或者说怎么去编写一个自己的命令来调用,我想通过点击子菜单发起一个ws请求来和我的后台发起实时通讯,另外我对react还有ts不是很了解,还请多指教!谢谢你们!

@leq849513109
Copy link
Author

leq849513109 commented Mar 23, 2023 via email

@erha19
Copy link
Member

erha19 commented Mar 23, 2023

@leq849513109 可以直接打包,但这部分仅是一个 WebIDE 的启动示例,如何结合自身产品及使用还得自行实现。

@leq849513109
Copy link
Author

leq849513109 commented Mar 23, 2023 via email

@erha19
Copy link
Member

erha19 commented Mar 23, 2023

@leq849513109 目前没有,你可以基于 Docker 版本进行修改,相关能力目前正在规划中,还没有实现,见:https://github.com/opensumi/docs/issues/85。

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