|
|
|
@ -19,7 +19,7 @@ router.beforeEach(async(to, from, next) => {
|
|
|
|
document.title = getPageTitle(to.meta.title)
|
|
|
|
document.title = getPageTitle(to.meta.title)
|
|
|
|
|
|
|
|
|
|
|
|
if (/^\/index\/.*/.test(to.path)) {
|
|
|
|
if (/^\/index\/.*/.test(to.path)) {
|
|
|
|
setToken('31|wFxoNgXTLwNke7CCjfCyFYd3x4s9WG74VKpYyi8S','ReceptionTokenKey')
|
|
|
|
//setToken('31|wFxoNgXTLwNke7CCjfCyFYd3x4s9WG74VKpYyi8S','ReceptionTokenKey')
|
|
|
|
|
|
|
|
|
|
|
|
if (getToken('ReceptionTokenKey')) {
|
|
|
|
if (getToken('ReceptionTokenKey')) {
|
|
|
|
next()
|
|
|
|
next()
|
|
|
|
|