📜  来自父级的角度调用子方法 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:57.456000             🧑  作者: Mango

代码示例2
// How to call a parent method + a child method from the parent's button click
// In hindsight, I wouldn't recommend this. But it's here if you need to use it.