Skip to content

Commit 3c24233

Browse files
committed
mini
1 parent 63f2311 commit 3c24233

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

containers/Route/logic.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const debug = makeDebugger('L:Route')
99
let route = null
1010
const INDEX = ''
1111

12+
// example: /getme/xxx?aa=bb&cc=dd
1213
const parseMainPath = R.compose(
1314
R.head,
1415
R.split('?'),
@@ -18,6 +19,7 @@ const parseMainPath = R.compose(
1819
R.prop('asPath')
1920
)
2021

22+
// example: /xxx/getme?aa=bb&cc=dd
2123
const parseSubPathList = R.compose(
2224
R.reject(R.isEmpty),
2325
R.split('/'),

0 commit comments

Comments
 (0)