提交 a25085f3 编写于 作者: N Nataliya Karatkova 提交者: Luis Alvarez D

Update static export example: clean up an extra query param (#9239)

上级 acf7d0ad
......@@ -12,10 +12,7 @@ module.exports = {
const pages = postList.reduce(
(pages, post) =>
Object.assign({}, pages, {
[`/post/${post.id}`]: {
page: '/post/[id]',
query: { id: post.id }
}
[`/post/${post.id}`]: { page: '/post/[id]' }
}),
{}
)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册