我從視圖發送動作到當前路由控制器,然後到另一個控制器,以便編寫一次代碼。Ember從視圖發送數據導致錯誤
this.get('controller.controllers.study/study').send('processPersonData', data);
* *棄用:直接在控制器中實施動作處理程序被淘汰,操作處理程序的上actions
對象(動作:processPersonData
上) 在Ember.ControllerMixin.Ember.Mixin.create.deprecatedSend
實施此發送操作的正確方法是什麼? 供參考:發送操作正確。