Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Durandal 路线中星号的用途是什么?这是Docs中的一个示例:
route:'knockout-samples*details'
编辑:使用 Durandal 2.0
您引用的文档清楚地显示了它的用途:)
最后,* 表示“splat”路线。在这种情况下,我们匹配从 * 位置开始的任何内容。