提交 abdc404c 编写于 作者: D DCloud_LXH

chore: siderBottom、router parse

上级 7ccd9abe
......@@ -202,51 +202,6 @@ export default {
"state": 1,
"prefix": "群26"
},
{
"number": "811363410",
"state": 1,
"prefix": "群27"
},
{
"number": "166188776",
"state": 1,
"prefix": "群28"
},
{
"number": "202965481",
"state": 1,
"prefix": "群29"
},
{
"number": "371046920",
"state": 1,
"prefix": "群30"
},
{
"number": "567471669",
"state": 1,
"prefix": "群31"
},
{
"number": "166188631",
"state": 1,
"prefix": "群32"
},
{
"number": "498071674",
"state": 1,
"prefix": "群33"
},
{
"number": "530305531",
"state": 1,
"prefix": "群34"
},
{
"number": "713420817",
"state": 1,
"prefix": "群35"
},
{
"number": "697264024",
"state": 0,
......
......@@ -19,7 +19,7 @@ function handleRedirectForCleanUrls(router, to) {
} else if (isRouteExists(router, endingSlashUrl)) {
return endingSlashUrl
} else {
return to.path
return to.path.replace(/\.md$/, '')
}
} else if (/\/$/.test(to.path)) {
const endingHtmlUrl = to.path.replace(/\/$/, '') + '.html'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册