【发布时间】:2012-12-24 05:12:43
【问题描述】:
在我当前的应用程序中,我的一个主干视图中有一个save 函数。
custom_save : function() {
// this method's save code
// have to call another views save function here
}
另一个视图名称是App.SettingsView,它有一个save 方法。我必须在 custom_save 逻辑之后立即调用此 save 方法。如何在 custom_save 函数中调用 App.SettingsView save 函数。请不要两者都是 2 个不同的文件
谢谢
【问题讨论】: