提交 db5af4d6 编写于 作者: guangjun.yang's avatar guangjun.yang

日志日志

上级 4c655f22
......@@ -57,11 +57,11 @@ const router = new VueRouter({
// 过滤路由
function fliterRoute(query, path, from) {
alert('fliterRoute ' + query + path);
alert('fliterRoute 111' + JSON.stringify(query) + path);
let has = false;
// 登录token保存并替换路径
if (query.token && query.token != 'undefined') {
alert('fliterRoute 222 ' + query + path);
alert('fliterRoute 222 ' + JSON.stringify(query) + path);
store.dispatch('setToken', query.token);
delete query.token;
has = true;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册