fix
This commit is contained in:
@@ -21,6 +21,13 @@ router.beforeEach((to, _from, next) => {
|
||||
let oldTitle = document.title
|
||||
document.title = <string>to.meta.title + '-' + oldTitle
|
||||
}
|
||||
// console.log(to,_from)
|
||||
// if (window.location.hostname == 'ascii.ranblogs.com') {
|
||||
// if (to.fullPath != '/ascii' && window.location.hostname == 'mshop.io') {
|
||||
// next('/ascii')
|
||||
// } else {
|
||||
// next()
|
||||
// }
|
||||
next()
|
||||
})
|
||||
//路由后置卫士
|
||||
|
||||
@@ -6,8 +6,8 @@ export const constantRoute = [
|
||||
component: () => import('@/components/Home/Home.vue'),
|
||||
name: 'home',
|
||||
meta: {
|
||||
keywords: '然部落,在线工具,开发人员工具,时间戳转换,加密,解密,md5,进制转换,二维码,正则表达式,json格式化,照片处理,字数统计',
|
||||
description: '然部落,在线工具,在线工具大全,开发人员工具,日常生活工具,办公助手,时间戳转换,加密,解密,md5,进制转换,二维码,正则表达式,json格式化,照片处理,字数统计',
|
||||
keywords: 'Tools-Web,在线工具,开发人员工具,时间戳转换,加密,解密,md5,进制转换,二维码,正则表达式,json格式化,照片处理,字数统计',
|
||||
description: 'Tools-Web,在线工具,在线工具大全,开发人员工具,日常生活工具,办公助手,时间戳转换,加密,解密,md5,进制转换,二维码,正则表达式,json格式化,照片处理,字数统计',
|
||||
}
|
||||
},
|
||||
//工具
|
||||
|
||||
Reference in New Issue
Block a user