Skip to content

Commit

Permalink
Update README.md, Close dvajs#1800
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc authored Jul 9, 2018
1 parent a38ec2e commit 88e5697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/knowledgemap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ app.model({
#### `path-to-regexp` Package
如果 url 规则比较复杂,比如 `/users/:userId/search`,那么匹配和 userId 的获取都会比较麻烦。这是推荐用 [path-to-regexp](https://github.com/pillarjs/path-to-regexp) 简化这部分逻辑。
如果 url 规则比较复杂,比如 `/users/:userId/search`,那么匹配和 userId 的获取都会比较麻烦。这时推荐用 [path-to-regexp](https://github.com/pillarjs/path-to-regexp) 简化这部分逻辑。
```javascript
import pathToRegexp from 'path-to-regexp';
Expand Down

0 comments on commit 88e5697

Please sign in to comment.