diff --git a/packages/web-runtime/src/router/index.js b/packages/web-runtime/src/router/index.js index 51f11047481..ac2f7da8ca4 100644 --- a/packages/web-runtime/src/router/index.js +++ b/packages/web-runtime/src/router/index.js @@ -18,7 +18,9 @@ function $gettext(msg) { const router = new Router({ // mode: 'history', parseQuery(query) { - return qs.parse(query) + return qs.parse(query, { + allowDots: true + }) }, stringifyQuery(obj) { return qs.stringify(obj, {