For the moment, when I'm in a controller and that I want to call a function from another controller, I do this :
App.app.getControllerInstances()['App.controller.OtherController'].do_something();
Is seems a bit heavy to me, is there another (better) way to do this ?
Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…