Skip to content

Commit ac52a00

Browse files
committed
docs: format
1 parent e20757d commit ac52a00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const router = new Router({
140140
routes: [
141141
{ path: '/foo', redirect: info => {
142142
const { query, params, hash } = info;
143-
return { name: 'bar' } // 或者 '/bar?a=2' 或者 {pathname: 'bar', query: {a: 2}}
143+
return { name: 'bar' } // 或者 '/bar?a=2' 或者 { pathname: 'bar', query: { a: 2 }}
144144
}}
145145
]
146146
}, driver)

0 commit comments

Comments
 (0)