Commit 5b4297e3 authored by Xuguangxing's avatar Xuguangxing

fix

parent e4674d99
......@@ -13,7 +13,7 @@ export default {
init: router => {
router.beforeEach((to, from, next) => {
Cookies.set('h', 0);
const query = JSON.parse(JSON.stringify(to.query.vccToken));
const query = JSON.parse(JSON.stringify(to.query));
if (Object.keys(query).indexOf('vccToken') == -1) {
to.query.vccToken = sessionStorage.get('vccToken') || '';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment