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

关于数据传递的问题 #116

Open
790396054 opened this issue Aug 11, 2018 · 1 comment
Open

关于数据传递的问题 #116

790396054 opened this issue Aug 11, 2018 · 1 comment

Comments

@790396054
Copy link

module A 是一个组件,module B 也是一个组件。
module A 和 module B 共同依赖 componentService

如果 module A 需要用到 module B 的功能,但是 Module B 的类是自在自己的模块中定义,请问如何在componentService 中声明接口,因为 componentService 中没有 Module B 中的类?
即使声明了,Module A 中如何得到? Module A 中也没有 Module B 中的类?

@ikakaxi
Copy link

ikakaxi commented Nov 26, 2019

用接口

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