Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我做了一个简单的测试来练习 RouteConfig 功能,我不知道如何从子组件回到主组件。我的笨蛋是:
plnkr.co/edit/25DCfUADQZJb2XMjb0hW?p=preview
提前致谢!
我想它可能会对你有所帮助。去尝试一下。
this._location.back();