小编dat*_*ser的帖子

什么`this._super(控制器,模型)`在Ember路由器中意味着什么?

我在EmberJS代码和讨论{没有提供参考}中看到了以下内容:

route.js

setupController: function (controller, model) {
    this._super(controller,model);
    // More code
},
Run Code Online (Sandbox Code Playgroud)

问题

this._super(controller,model);在这里做什么的呼吁是什么?

我什么时候需要使用这种类型的电话?

只是想在这里学习,因为我的鼻子从Ember学习曲线流血.

javascript ember.js

5
推荐指数
1
解决办法
3534
查看次数

标签 统计

ember.js ×1

javascript ×1