1
這裏是我的路由結構的一個例子:高級路由與功能分組
routes:{ "*actions" : "defaultHandler", //some default handler //handlers for all pages "Page1" : "Page1", . . . . . . . . . . "PageN" : "PageN", //and now I have a module, with it's own pages, and routes for it has similar look: "Module/Page01" : "Page01", . . . . . . . . . . "Module/PageNN" : "PageNN", /* and now I have to do some task for all navigations to the Module and I am trying to make this: */ "Module/*path" : "moduleHandler" /* and it's not working, because in this case on navigate, for example to the page "Module/Page01" only moduleHandler responding, not Page01 handler */ }
這樣。我需要這兩個處理程序來回應。無法找到此千方百計文檔
好的解決方案,就像瑞士刀。謝謝! – elisium
但我發現了一些限制,нопожалуйста:)。 – theotheo