冗余日志

This commit is contained in:
tangly1024
2022-05-13 15:56:23 +08:00
parent ef1ea5edc7
commit 4afffe6493
3 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ const Slug = props => {
const article = document.getElementById('container')
if (!article) {
router.push('/404').then(() => {
console.warn('找不到页面', router.asPath)
// console.warn('找不到页面', router.asPath)
})
}
}

View File

@@ -11,7 +11,7 @@ export const Layout404 = props => {
const article = typeof document !== 'undefined' && document.getElementById('container')
if (!article) {
router.push('/').then(() => {
console.log('找不到页面', router.asPath)
// console.log('找不到页面', router.asPath)
})
}
}

View File

@@ -11,7 +11,7 @@ export const Layout404 = props => {
const article = typeof document !== 'undefined' && document.getElementById('container')
if (!article) {
router.push('/').then(() => {
console.log('找不到页面', router.asPath)
// console.log('找不到页面', router.asPath)
})
}
}