Skip to content

Commit

Permalink
feat: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
baozouai committed Apr 13, 2022
1 parent 23d08a4 commit da1c9de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ import { getShortPath } from 'taro-history'
*/
console.log(getShortPath('pages/main/invite/index')) // xxx
```
7. `getCurrentShortPath`, 获取当前页短路径
6. `getCurrentShortPath`, 获取当前页短路径
```ts
import { getCurrentShortPath } from 'taro-history'
// 当前页 pages/xxx/index
Expand Down

0 comments on commit da1c9de

Please sign in to comment.