sencha触摸2路由与灵活的JS工作吗?我用Deft.mvc.ViewController而不是Ext.app.Controller扩展我的控制器,看起来路由不起作用。
发布于 2015-02-20 22:52:21
它似乎不起作用:https://github.com/deftjs/DeftJS/issues/44
作为解决办法,我尝试使用DeftJS控制器作为ViewControllers来控制应用程序的逻辑,使用ExtJS控制器作为RouteControllers来处理路由。要将它们分开,将ViewControllers放在视图和模型旁边,就像在ExtJS 5中所做的那样。RouteControllers将转到app/controllers目录。
另一种选择是使用Ext.ux.Router。
https://stackoverflow.com/questions/28628597
复制相似问题